Services API

get specific entry

GET /api/rest/customer/v1/services/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM5LCJhdWQiOlsiY3VzdG9tZXItdjEiXSwiZXhwIjoxNzMxNTc4MjI5fQ.9EiYtVCPzRp46OzEDzIAVH2EZmuQobO9rRfLUYz6D8A
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384

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/"a163cf96b6817e98ab03a2491fe5b71a"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 2cf7586a-bca8-468e-a4fb-49942584dd33
X-Runtime: 0.009613
Content-Length: 938

Status

200 OK

Body

{
  "data": {
    "id": "6e394382-8e9e-4528-a70f-108468f82384",
    "type": "services",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384"
    },
    "attributes": {
      "name": "Service_10",
      "state": "Active",
      "initial-price": "8.13",
      "renew-price": "39.92",
      "created-at": "2024-11-14T05:19:09.960Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "service-type": "Service Type 16",
      "ui-type": "phone_systems"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384/relationships/account",
          "related": "http://example.org/api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384/account"
        }
      },
      "transactions": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384/relationships/transactions",
          "related": "http://example.org/api/rest/customer/v1/services/6e394382-8e9e-4528-a70f-108468f82384/transactions"
        }
      }
    }
  }
}