create new entry
POST /api/rest/admin/routing/routing-tag-detection-rules
Parameters
Name |
Description |
data[type]
|
Resource type (routing-tag-detection-rules)
|
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
Route
POST /api/rest/admin/routing/routing-tag-detection-rules
Body
{"data":{"type":"routing-tag-detection-rules"}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "7",
"type": "routing-tag-detection-rules",
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7"
},
"attributes": {
"src-prefix": "",
"dst-prefix": "",
"tag-action-value": [
],
"routing-tag-ids": [
]
},
"relationships": {
"src-area": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/relationships/src-area",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/src-area"
}
},
"dst-area": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/relationships/dst-area",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/dst-area"
}
},
"routing-tag": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/relationships/routing-tag",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/routing-tag"
}
},
"tag-action": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/relationships/tag-action",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/tag-action"
}
},
"routing-tag-mode": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/relationships/routing-tag-mode",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/7/routing-tag-mode"
}
}
}
}
}