Rateplans API

get specific entry

GET /api/rest/admin/routing/rateplans/:id

Request

Headers

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

Route

GET /api/rest/admin/routing/rateplans/22

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/"416f93debcdcd167bf287d69628947ba"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 057002c7-df2e-4aaa-99b2-7fc66c0a5dc7
X-Runtime: 0.011514
Content-Length: 174

Status

200 OK

Body

{
  "data": {
    "id": "22",
    "type": "rateplans",
    "links": {
      "self": "http://example.org/api/rest/admin/routing/rateplans/22"
    },
    "attributes": {
      "name": "rateplan9",
      "profit-control-mode-id": 2
    }
  }
}