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.eyJleHAiOjE3MzE1Nzg3NDksInN1YiI6NDZ9.rQz9kJFhnIRz6pEJ0BfhKc1FQgTd-bLoB_-yMuOtDrQ
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: 443de2cb-05f1-4de8-b864-b6d341def008
X-Runtime: 0.010152
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"
      }
    }
  }
}