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.eyJzdWIiOjEzNiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4MzYwNjMwN30.6FhglFUV_ev4hRZMxjtNQg1Alw0VC6QeBkzgMZjUHps
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/"c8fcd55ae09f8b860ab787ecbc849aeb"
cache-control: max-age=0, private, must-revalidate
x-request-id: 26e4be46-0d15-4b5b-ae4c-ebbbd6730b04
x-runtime: 0.006459
content-length: 586

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": "232.0",
      "transactions-count": 58,
      "spent": true
    },
    "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"
        }
      }
    }
  }
}