Routing RoutingTagDetectionRules API

update values

PUT /api/rest/admin/routing/routing-tag-detection-rules/:id

Parameters

Name Description
data[type] Resource type (routing-tag-detection-rules)
data[id] ID
data[attributes][src-prefix] Src prefix
data[attributes][dst-prefix] Dst prefix
data[attributes][tag-action-value] Tag action value
data[attributes][routing-tag-ids] Routing tag ids
data[relationships][src-area] Src area
data[relationships][dst-area] Dst area
data[relationships][tag-action] Tag action
data[relationships][routing-tag-modes] Routing tag modes

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjIsInN1YiI6MTk0fQ.k-hwJv2uOQpLh_JhYbLu4bXizIuV2lVew-pD5gv9PJg
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing/routing-tag-detection-rules/8

Body

{"data":{"type":"routing-tag-detection-rules","id":8}}

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/"3a787e414e1b357bc066203ee3c139db"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 80addf16-894e-4bae-807a-a17707f50117
X-Runtime: 0.009456
Content-Length: 1400

Status

200 OK

Body

{
  "data": {
    "id": "8",
    "type": "routing-tag-detection-rules",
    "links": {
      "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8"
    },
    "attributes": {
      "src-prefix": "111",
      "dst-prefix": "222",
      "tag-action-value": [

      ],
      "routing-tag-ids": [

      ]
    },
    "relationships": {
      "src-area": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/src-area",
          "related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/src-area"
        }
      },
      "dst-area": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/dst-area",
          "related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/dst-area"
        }
      },
      "routing-tag": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/routing-tag",
          "related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/routing-tag"
        }
      },
      "tag-action": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/tag-action",
          "related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/tag-action"
        }
      },
      "routing-tag-mode": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/routing-tag-mode",
          "related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/routing-tag-mode"
        }
      }
    }
  }
}