Get Location
This request returns the information of a location.
Resource
GET /locations/<OID>
Where OID
is the object ID of the location.
Parameters
None
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/locations/1033697
Response
{
"object": {
"organisation": {
"name": "Xelion B.V.",
"permissions": "ReadWriteRemove",
"commonName": "Xelion B.V.",
"oid": "1041861",
"objectType": "Organisation"
},
"longitude": 10.10001,
"latitude": 11.4,
"permissions": "ReadWriteRemove",
"commonName": "test location",
"oid": "1929771",
"objectType": "Location"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/locations/1929771",
"method": "GET"
}
]
}