create new entry
POST /api/rest/admin/billing/service-types
Parameters
Name |
Description |
data[type]
|
Resource type (service-types)
|
data[attributes][name]
|
Name
|
data[attributes][provisioning-class]
|
Provisioning class
|
data[attributes][force-renew]
|
Force renew
|
data[attributes][variables]
|
Variables
|
Request
Headers
Route
POST /api/rest/admin/billing/service-types
Body
{"data":{"type":"service-types","attributes":{"name":"name","provisioning-class":"Billing::Provisioning::Logging"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "7",
"type": "service-types",
"links": {
"self": "http://example.org/api/rest/admin/billing/service-types/7"
},
"attributes": {
"name": "name",
"force-renew": false,
"provisioning-class": "Billing::Provisioning::Logging",
"variables": null
}
}
}