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.eyJleHAiOjE3MzE1Nzg3NTksInN1YiI6MTUzfQ.JeFCbtIFfUvJvWyDTVoqLjPTtqs6toXYd450qKmze4s
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: 6d1c19e7-3549-49ac-8066-55b80108f099
X-Runtime: 0.008657
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"
  }
}