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.eyJzdWIiOjIyMCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3MX0.RHdcvS_FqeGwAr_qtZM67vjOx8JE-WWccozEr3lyO_s
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: 7512c69a-a2c9-4aa5-9c96-569120fbce9e
x-runtime: 0.005347
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"
      }
    }
  }
}