Routing RoutingTag API

create new entry

POST /api/rest/admin/routing/routing-tags

Parameters

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjIsInN1YiI6MjAwfQ.L-aZahw7g0Hdrp4LQ6aDdQlJ6IcG7-aIErizL3HdbDE
Host: example.org
Cookie: 

Route

POST /api/rest/admin/routing/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-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"6ecb7c862cec58de85f0212f00a2ffaa"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: be7e0342-0f66-4025-9ae3-2c40753f7e75
X-Runtime: 0.014165
Content-Length: 148

Status

201 Created

Body

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