Service Types API

get specific entry

GET /api/rest/admin/service-types/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAxMH0._zKHkkhr5ec-4tHXQZr0ihwVwaQtdsq0eFd-U9XUlpY
Host: example.org
Cookie: 

Route

GET /api/rest/admin/service-types/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/"ec3fc253abeea679939c97197e8f3e5b"
cache-control: max-age=0, private, must-revalidate
x-request-id: c740f25b-2e8d-4630-95e8-a4989c9a6d7f
x-runtime: 0.005331
content-length: 250

Status

200 OK

Body

{
  "data": {
    "id": "9",
    "type": "service-types",
    "links": {
      "self": "http://example.org/api/rest/admin/service-types/9"
    },
    "attributes": {
      "name": "Service Type 9",
      "force-renew": false,
      "provisioning-class": "Billing::Provisioning::Logging",
      "variables": {
        "foo": "bar"
      }
    }
  }
}