update values
PUT /api/rest/admin/routing/numberlists/:id
Parameters
Name |
Description |
data[type]
|
Resource type (numberlist)
|
data[id]
|
Customer Auth ID
|
data[attributes][name]
|
Name
|
data[attributes][default-action-id]
|
Default action id
|
data[attributes][mode-id]
|
Mode id
|
data[attributes][default-src-rewrite-rule]
|
Default src rewrite rule
|
data[attributes][default-src-rewrite-result]
|
Default src rewrite result
|
data[attributes][defer-src-rewrite]
|
Defer src rewrite
|
data[attributes][default-dst-rewrite-rule]
|
Default dst rewrite rule
|
data[attributes][default-dst-rewrite-result]
|
Default dst rewrite result
|
data[attributes][defer-dst-rewrite]
|
Defer dst rewrite
|
data[attributes][tag-action-value]
|
Tag action value
|
data[attributes][external-id]
|
External id
|
data[attributes][external-type]
|
External type
|
data[relationships][tag-action]
|
Tag action
|
Request
Headers
Route
PUT /api/rest/admin/routing/numberlists/11
Body
{"data":{"type":"numberlists","id":11,"attributes":{"name":"name"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "11",
"type": "numberlists",
"links": {
"self": "http://example.org/api/rest/admin/routing/numberlists/11"
},
"attributes": {
"name": "name",
"default-action-id": 1,
"mode-id": 1,
"created-at": "2024-11-14T09:56:00.605Z",
"updated-at": "2024-11-14T09:56:00.635Z",
"default-src-rewrite-rule": null,
"default-src-rewrite-result": null,
"defer-src-rewrite": false,
"default-dst-rewrite-rule": null,
"default-dst-rewrite-result": null,
"defer-dst-rewrite": false,
"tag-action-value": [
],
"external-id": null,
"external-type": null
},
"relationships": {
"tag-action": {
"links": {
"self": "http://example.org/api/rest/admin/routing/numberlists/11/relationships/tag-action",
"related": "http://example.org/api/rest/admin/routing/numberlists/11/tag-action"
}
}
}
}
}