Services API

get specific entry

GET /api/rest/admin/services/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjI0MywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4ODYwNjUyMH0.yDacB2-bazxEy5FLwGALdk2rw40nj9cywfxacQweI1M
Host: example.org
Cookie: 

Route

GET /api/rest/admin/services/9

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/"82a03794720d7587fb5b080a824e3ea0"
cache-control: max-age=0, private, must-revalidate
x-request-id: a997e64e-5ca7-4d27-bd0d-d35ccf02a1c3
x-runtime: 0.009630
content-length: 1114

Status

200 OK

Body

{
  "data": {
    "id": "9",
    "type": "services",
    "links": {
      "self": "http://example.org/api/rest/admin/services/9"
    },
    "attributes": {
      "name": "Service_9",
      "variables": {
        "baz": 123
      },
      "state": "Active",
      "initial-price": "52.84",
      "renew-price": "36.57",
      "created-at": "2026-09-05T09:13:40.040Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "uuid": "494e8728-f166-48f4-ad75-0f2bfe607aac"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/account",
          "related": "http://example.org/api/rest/admin/services/9/account"
        },
        "data": {
          "type": "accounts",
          "id": "91"
        }
      },
      "service-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/service-type",
          "related": "http://example.org/api/rest/admin/services/9/service-type"
        }
      },
      "transactions": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/transactions",
          "related": "http://example.org/api/rest/admin/services/9/transactions"
        }
      },
      "package-counters": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/package-counters",
          "related": "http://example.org/api/rest/admin/services/9/package-counters"
        }
      }
    }
  }
}