create new entry
POST /api/rest/admin/routing-plans
Parameters
Name |
Description |
data[type]
|
Resource type (routing-plans)
|
data[attributes][name]
|
Name
|
data[attributes][rate-delta-max]
|
Rate delta max
|
data[attributes][use-lnp]
|
Use lnp
|
data[attributes][max-rerouting-attempts]
|
Max rerouting attempts
|
data[relationships][sorting]
|
Sorting
|
Request
Headers
Route
POST /api/rest/admin/routing-plans
Body
{"data":{"type":"routing-plans","attributes":{"name":"name"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "10",
"type": "routing-plans",
"links": {
"self": "http://example.org/api/rest/admin/routing-plans/10"
},
"attributes": {
"name": "name",
"rate-delta-max": "0.0",
"use-lnp": false,
"max-rerouting-attempts": 10,
"sorting-id": 1
}
}
}