Routing RoutingTag API

create new entry

POST /api/rest/admin/routing-tags

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyMCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3NjM2NTc0Mn0.Qv6_1ArYyZ16wboz3H4_GzuN4ivld_uDjGnNl5PYWiY
Host: example.org
Cookie: 

Route

POST /api/rest/admin/routing-tags

Body

{"data":{"type":"routing-tags","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-tags/28
vary: Accept
etag: W/"6742258a2a82b582ee04f9e495455694"
cache-control: max-age=0, private, must-revalidate
x-request-id: a47e0ed1-fd7a-40d3-b25a-1ddc4422a445
x-runtime: 0.020975
content-length: 140

Status

201 Created

Body

{
  "data": {
    "id": "28",
    "type": "routing-tags",
    "links": {
      "self": "http://example.org/api/rest/admin/routing-tags/28"
    },
    "attributes": {
      "name": "name"
    }
  }
}