update values
PUT /api/rest/admin/routing/rateplans/:id
Parameters
Name |
Description |
data[type]
|
Resource type (rateplans)
|
data[id]
|
Rateplan ID
|
data[attributes][name]
|
Name
|
data[attributes][profit-control-mode-id]
|
Profit control mode id
|
Request
Headers
Route
PUT /api/rest/admin/routing/rateplans/24
Body
{"data":{"type":"rateplans","id":24,"attributes":{"name":"name","profit-control-mode-id":1}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "24",
"type": "rateplans",
"links": {
"self": "http://example.org/api/rest/admin/routing/rateplans/24"
},
"attributes": {
"name": "name",
"profit-control-mode-id": 1
}
}
}