Service Types API

get listing

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

Parameters

Name Description
filter[id] id filter
filter[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter
filter[force-renew-eq] force renew eq filter
filter[force-renew-not-eq] force renew not eq filter
filter[provisioning-class-eq] provisioning class eq filter
filter[provisioning-class-not-eq] provisioning class not eq filter
filter[provisioning-class-cont] provisioning class cont filter
filter[provisioning-class-start] provisioning class start filter
filter[provisioning-class-end] provisioning class end filter
filter[provisioning-class-in] provisioning class in filter
filter[provisioning-class-not-in] provisioning class not in filter
filter[provisioning-class-cont-any] provisioning class cont any filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NDksInN1YiI6NDV9.tvQefGYMmSUYF6wOAQlqCmaRbzV9KonJyEJDB-3xULQ
Host: example.org
Cookie: 

Route

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

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/"4c6321e8611c09eec9134ebdaf63cde3"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: fca30437-1fb0-43ac-8639-d9db3d59549f
X-Runtime: 0.008897
Content-Length: 750

Status

200 OK

Body

{
  "data": [
    {
      "id": "4",
      "type": "service-types",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/service-types/4"
      },
      "attributes": {
        "name": "Service Type 4",
        "force-renew": false,
        "provisioning-class": "Billing::Provisioning::Logging",
        "variables": {
          "foo": "bar"
        }
      }
    },
    {
      "id": "5",
      "type": "service-types",
      "links": {
        "self": "http://example.org/api/rest/admin/billing/service-types/5"
      },
      "attributes": {
        "name": "Service Type 5",
        "force-renew": false,
        "provisioning-class": "Billing::Provisioning::Logging",
        "variables": {
          "foo": "bar"
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/billing/service-types?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/billing/service-types?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}