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.eyJzdWIiOjEyOCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2Nn0.CEDdPx31jupzaEhPxG7WOrGac_aOmPh8KMQnnNeSE9s
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/"63d1ef8c32c6c8e8722a454a50c72d07"
cache-control: max-age=0, private, must-revalidate
x-request-id: 798a46f1-e9b8-46c7-b13d-cb5c9cbc877f
x-runtime: 0.005779
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": 80,
      "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"
        }
      }
    }
  }
}