get listing
GET /api/rest/admin/routing/area-prefixes
Request
Headers
Route
GET /api/rest/admin/routing/area-prefixes
Response
Headers
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"
}
}