Routing plans API

update values

PUT /api/rest/admin/routing-plans/:id

Parameters

Name Description
data[type] Resource type (routing-plans)
data[id] Routing plan ID
data[attributes][name] Name
data[attributes][rate-delta-max] Rate delta max
data[attributes][use-lnp] Use lnp
data[attributes][max-rerouting-attempts] Max rerouting attempts

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjMsInN1YiI6MjA3fQ.uaNJjek95cjGw_JMj71KWDJuAqry1ctfBCnWIzJJKHU
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing-plans/11

Body

{"data":{"type":"routing-plans","id":11,"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/"cfad798cdb702a7f21d6f3fabecb81af"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 61f28aee-2455-440e-9d01-6d23fa31af0f
X-Runtime: 0.014695
Content-Length: 223

Status

200 OK

Body

{
  "data": {
    "id": "11",
    "type": "routing-plans",
    "links": {
      "self": "http://example.org/api/rest/admin/routing-plans/11"
    },
    "attributes": {
      "name": "name",
      "rate-delta-max": "0.0",
      "use-lnp": false,
      "max-rerouting-attempts": 9,
      "sorting-id": 1
    }
  }
}