Search Locations
This request returns a list of locations.
Resource
GET /locations[?parameters]
Parameters
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/locations?limit=2
Response
{
"data": [
{
"object": {
"commonName": "Xelion",
"oid": "1591405",
"objectType": "Location"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/locations/1591405",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Arnon's Home",
"oid": "1591409",
"objectType": "Location"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/locations/1591409",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/locations",
"method": "GET"
},
{
"rel": "next",
"href": "https://xelion.nl/api/v1/master/locations?after=1591409",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xelion.nl/api/v1/master/locations?before=1591405",
"method": "GET"
}
],
"paging": {
"previousId": "1591405",
"nextId": "1591409"
}
}
}