Invoice Service Data API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NDgsInN1YiI6MzF9._dZXQ5cnpSW2Rnq-pmT4PO4BKTD687gB9Ea--ZfFnmk
Host: example.org
Cookie: 

Route

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

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"5415a8c4a4ffd6ca50c1b326b1a44da7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: b985142f-03de-410d-a2d1-8da9d20cb8c9
X-Runtime: 0.012681
Content-Length: 625

Status

200 OK

Body

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