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
Route
GET /api/rest/admin/billing/service-types
Response
Headers
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"
}
}