Routing AreaPrefix API

get listing

GET /api/rest/admin/routing/area-prefixes

Request

Headers

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

Route

GET /api/rest/admin/routing/area-prefixes

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/"3ddcd4ab8347f82518f9cf9f39f32b31"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 8e0d1203-1fd0-453d-9b2f-98f14d816255
X-Runtime: 0.008757
Content-Length: 928

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "area-prefixes",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/area-prefixes/1"
      },
      "attributes": {
        "prefix": "123"
      },
      "relationships": {
        "area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing/area-prefixes/1/relationships/area",
            "related": "http://example.org/api/rest/admin/routing/area-prefixes/1/area"
          }
        }
      }
    },
    {
      "id": "2",
      "type": "area-prefixes",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/area-prefixes/2"
      },
      "attributes": {
        "prefix": "234"
      },
      "relationships": {
        "area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing/area-prefixes/2/relationships/area",
            "related": "http://example.org/api/rest/admin/routing/area-prefixes/2/area"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/routing/area-prefixes?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/routing/area-prefixes?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}