User Location


This request returns the location of the user.

Resource

GET /me/location

Parameters

None

Payload

None

Response

Context

Authorization

User

Errors

HTTP code Xelion code Description

404

10054

The user has no phone line.

Example

Request
GET https://xelion.nl/api/v1/master/me/location
Response
{
    "object": {
        "longitude": 0.0,
        "latitude": 0.0,
        "permissions": "Read",
        "commonName": "test",
        "oid": "2282430",
        "objectType": "Location"
    },
    "links": [
        {
            "rel": "self",
            "href": "https://xelion.nl/api/v1/master/me/location",
            "method": "GET"
        }
    ]
}