Skip to content

Get location of specific device
Stable

Request

Returns location information of device

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

location_idintegerrequired

An integer identifying the location.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/report/location/{location_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
idinteger
latitudenumber, (double)
longitudenumber, (double)
altitudenumber, (double)
citystring
statusstring
countrystring
zipcodeinteger
last_updated_onstring, (date-time)
devicestring, (url)
enterprisestring, (url)
Response
{ "id": 0, "latitude": 0.1, "longitude": 0.1, "altitude": 0.1, "city": "string", "status": "string", "country": "string", "zipcode": 0, "last_updated_on": "2019-08-24T14:15:22Z", "device": "string", "enterprise": "string" }