Invoice Service Data API

get specific entry

GET /api/rest/admin/invoice-service-data/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEzNiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4NjM2MDI5M30._jBoIGfmKrRHWWdsa3pb3-bUMG-zKu43bBQ9i0leFGI
Host: example.org
Cookie: 

Route

GET /api/rest/admin/invoice-service-data/3

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"e8f9306ee295447790e4dd2de0fd4d78"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4cc3695d-6bef-4d2b-b925-e0628b67a4ac
x-runtime: 0.005620
content-length: 585

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "invoice-service-data",
    "links": {
      "self": "http://example.org/api/rest/admin/invoice-service-data/3"
    },
    "attributes": {
      "amount": "0.0",
      "transactions-count": 19,
      "spent": false
    },
    "relationships": {
      "invoice": {
        "links": {
          "self": "http://example.org/api/rest/admin/invoice-service-data/3/relationships/invoice",
          "related": "http://example.org/api/rest/admin/invoice-service-data/3/invoice"
        }
      },
      "service": {
        "links": {
          "self": "http://example.org/api/rest/admin/invoice-service-data/3/relationships/service",
          "related": "http://example.org/api/rest/admin/invoice-service-data/3/service"
        }
      }
    }
  }
}