| Name | Description |
|---|---|
| data[type] | Resource type (routing-groups) |
| data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE4NiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzOX0.eb36Y0V78EzpmIdru0TOyHotdGNV5TqvWUEcEjbl6RY Host: example.org Cookie:
POST /api/rest/admin/routing-groups
{"data":{"type":"routing-groups","attributes":{"name":"name"}}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"c30792bf3335e709b7f042d2e1dcb6d3" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 270d647a-da41-4e2e-8835-864b84594dee X-Runtime: 0.014556 Content-Length: 268
201 Created
{
"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"
}
}
}
}
}