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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE3MSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzOH0.W7Ayc8XNyeeLNEZ3LJT9aztPNfO-jTj-ODhauu8lA6A
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: 4bf7ac0d-4c50-43dd-911b-da60ce63a426
X-Runtime: 0.008878
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
  }
}