Routing Area API

get listing

GET /api/rest/admin/routing/areas

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzMsInN1YiI6MTMzfQ.ewN7HLxrNTGI2c03kKIqFXWKhHycXY3uPnHFO-feN1A
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/areas

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/"bf32e1b854573d7c6dfc7da04a5f3fb5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 96bad80d-3fda-4b84-af58-58f5fbccd3c0
X-Runtime: 0.008664
Content-Length: 508

Status

200 OK

Body

{
  "data": [
    {
      "id": "10",
      "type": "areas",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/areas/10"
      },
      "attributes": {
        "name": "Routing_Area_10"
      }
    },
    {
      "id": "11",
      "type": "areas",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/areas/11"
      },
      "attributes": {
        "name": "Routing_Area_11"
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/routing/areas?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/routing/areas?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}