Routing Rate Groups API

get listing

GET /api/rest/admin/rate-groups

Parameters

Name Description
filter[id] id filter
filter[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE3NywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2OX0.0MkAEU2O_3AJD0qhTEsBJXgPweB_mJGEMCrATV5qSdQ
Host: example.org
Cookie: 

Route

GET /api/rest/admin/rate-groups

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/"445e524e82fb9a8f864dde6c3a6cd75c"
cache-control: max-age=0, private, must-revalidate
x-request-id: c3adaa59-3419-47e9-a4bc-88193e0c1cb7
x-runtime: 0.006394
content-length: 567

Status

200 OK

Body

{
  "data": [
    {
      "id": "12",
      "type": "rate-groups",
      "links": {
        "self": "http://example.org/api/rest/admin/rate-groups/12"
      },
      "attributes": {
        "name": "rateplan12",
        "external-id": 12
      },
      "relationships": {
        "rateplans": {
          "links": {
            "related": "http://example.org/api/rest/admin/rate-groups/12/rateplans"
          }
        }
      }
    },
    {
      "id": "13",
      "type": "rate-groups",
      "links": {
        "self": "http://example.org/api/rest/admin/rate-groups/13"
      },
      "attributes": {
        "name": "rateplan13",
        "external-id": 13
      },
      "relationships": {
        "rateplans": {
          "links": {
            "related": "http://example.org/api/rest/admin/rate-groups/13/rateplans"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  }
}