Routing groups API

create new entry

POST /api/rest/admin/routing-groups

Parameters

Name Description
data[type] Resource type (routing-groups)
data[attributes][name] Name

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE5OSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwOX0.A_LuPZBXkLdG5d1Quzp1hAygh8-Xe04bYoQbDmPVQxU
Host: example.org
Cookie: 

Route

POST /api/rest/admin/routing-groups

Body

{"data":{"type":"routing-groups","attributes":{"name":"name"}}}

Response

Headers

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
location: http://example.org/api/rest/admin/routing-groups/36
vary: Accept
etag: W/"c30792bf3335e709b7f042d2e1dcb6d3"
cache-control: max-age=0, private, must-revalidate
x-request-id: 50ef2e5b-7d00-4e99-ac7b-e095228e375c
x-runtime: 0.008873
content-length: 268

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"
        }
      }
    }
  }
}