Retrieves a Tag’s properties based on its Tag ID.
Request
GET /api/v1/enterprises/<enterprise_id>/tags/<tag_id>
Parameters
BatteryVoltage |
string |
Tag voltage |
BatteryVoltageTimestamp |
string |
Timestamp of the latest battery voltage update |
ButtonStatus |
string |
Tamper: When an Asset Tag is removed from an asset, the Tag’s Tamper button gets activated. True - Attention Button on the Asset Tag is activated |
ButtonTimeStamp |
string |
Timestamp of the most recent button message received from the tag |
ComputationTimestamp |
string |
Timestamp at which this position was computed |
DisplayCoordinates |
string |
Coordinates of the marker to be displayed for the tag. The coordinates of the tag’s path are translated left and up by the anchor’s x and y points. Note that this does not indicate the actual position of the tag. |
enterprise_id |
string |
The ID of the organization |
Floor |
string |
The floor level on which the tag is available |
Motion |
string |
False - The tag is not moving |
RawDataTimeStamp |
string |
Timestamp of the most recent raw data included in the computation of this tag position |
Request |
|
|
Response |
|
|
tag_id |
string |
The ID or MAC address of the tag that is being queried. Scan the QR code on the tag to get the Tag_ID and the MAC address. |
TagID |
string |
The ID of the tag that is queried |
TagMac |
string |
MAC address of the tag |
Zone |
string |
Zone assigned to the tag |
Response
A sample code below listing the tag details.
1 {
2 "tagId": "da375073-7e33-480d-8209-3467c6ccbc1b",
3 "tagMac": "6864F5AD2C04",
4 "zone": "Scrum_Area",
5 "floor": "AAVmbG9vcgACdXMA7sxRX-kR6qQSr2ZiKK_pyL7WMV_pEeq0LVf43pYdWg",
6 "motion": false,
7 "displayCoordinates": {
8 "x": 0.0,
9 "y": 0.0
10 },
11 "rawDataTimestamp": "2022-11-15T07:38:25+00:00",
12 "computationTimestamp": "2022-11-15T07:38:29.889260+00:00",
13 "batteryVoltage": 2.823,
14 "batteryVoltageTimestamp": "2022-11-15T07:42:15+00:00",
15 "buttonStatus": {
16 "tamper": true,
17 "attention": false
18 },
19 "buttonTimestamp": "2022-11-15T07:38:54+00:00"
20 }
Comments
Article is closed for comments.