Routing AreaPrefix API

get specific entry

GET /api/rest/admin/area-prefixes/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMxLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTYwfQ.mBnj4jX1UQ8LPLNzPAF1SwZlU0Cw4Hjha6XyFIb7xkM
Host: example.org
Cookie: 

Route

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

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/"248c16b87d0dece157cec745ea4f311a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9133f880-10a8-48db-9885-76cda38b020f
x-runtime: 0.006261
content-length: 323

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "area-prefixes",
    "links": {
      "self": "http://example.org/api/rest/admin/area-prefixes/3"
    },
    "attributes": {
      "prefix": "345"
    },
    "relationships": {
      "area": {
        "links": {
          "self": "http://example.org/api/rest/admin/area-prefixes/3/relationships/area",
          "related": "http://example.org/api/rest/admin/area-prefixes/3/area"
        }
      }
    }
  }
}