Service Types API

get specific entry

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

Request

Headers

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

Route

GET /api/rest/admin/billing/service-types/6

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/"9fdf4aab8208bfac720d98f04415f794"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: b4c66ffb-29ea-4bef-8d62-8bf1da3fbdd4
X-Runtime: 0.011610
Content-Length: 258

Status

200 OK

Body

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