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.eyJleHAiOjE3MTAyNTQ3MzUsInN1YiI6MTU2fQ.XAJF0ol5g9anHjP_U4aSF-bvxB9bY4gy9ds2c_YXMoo
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: be9ebb0a-c155-4457-837d-5a257670a7ed
X-Runtime: 0.011336
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
    }
  }
}