v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Device

Get location for a device

Get the location info for a specific device.

get/devices/{id}/location

Path parameters

idinteger required

The device ID

Response

OK

location_idinteger

The assigned location ID, it must NOT be BUILDING type

create_timestring date-time required

The timestamp when the device assigned to the location

update_timestring date-time required

The timestamp when the location info was last updated

org_idinteger

The organization identifier, valid when enabling HIQ feature

parent_idinteger

The parent location ID

location_namestring required

The location name

location_unique_namestring required

The unique location name

location_typestring required

The location type

location_addressstring

The address for the location

xnumber double

The horizontal value in the floor map

ynumber double

The vertical value in the floor map

latitudenumber double

The latitude in the geography

longitudenumber double

The longitude in the geography