Rateplans API

get specific entry

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE4MSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3MH0.ewspRaV76WNRmLzSZZmZSfcVFen_ux7xF7GJ_kE-p48
Host: example.org
Cookie: 

Route

GET /api/rest/admin/rateplans/23

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"057d4d25c4841166756c3a1bb72e666e"
cache-control: max-age=0, private, must-revalidate
x-request-id: 50339bb3-3a68-47ab-81bd-106b15cb8c71
x-runtime: 0.005667
content-length: 282

Status

200 OK

Body

{
  "data": {
    "id": "23",
    "type": "rateplans",
    "links": {
      "self": "http://example.org/api/rest/admin/rateplans/23"
    },
    "attributes": {
      "name": "rateplan10",
      "profit-control-mode-id": 2
    },
    "relationships": {
      "rate-groups": {
        "links": {
          "related": "http://example.org/api/rest/admin/rateplans/23/rate-groups"
        }
      }
    }
  }
}