create new entry
POST /api/rest/admin/routing-groups
Parameters
Name |
Description |
data[type]
|
Resource type (routing-groups)
|
data[attributes][name]
|
Name
|
Request
Headers
Route
POST /api/rest/admin/routing-groups
Body
{"data":{"type":"routing-groups","attributes":{"name":"name"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "36",
"type": "routing-groups",
"links": {
"self": "http://example.org/api/rest/admin/routing-groups/36"
},
"attributes": {
"name": "name"
},
"relationships": {
"routing-plans": {
"links": {
"related": "http://example.org/api/rest/admin/routing-groups/36/routing-plans"
}
}
}
}
}