RFID Tags Information API
GET: RFID Tag by MAC Address
Description
This API returns an RFID tag by its MAC address.
HTTP Method
GET
Resource URI
/api/location/v1/tags/:macaddress
Requires OAuth
N
Parameters
Name |
Required |
Default |
Type |
Location |
Description |
---|---|---|---|---|---|
macaddress |
Y |
— |
String |
pathReplace |
RFID Tag MAC address. |
Content Type
application/json
Sample Output
http://10.68.40.131/api/location/v1/tags/00:18:8e:28:24:26
{
"macAddress": "00:18:8e:28:24:26",
"mapInfo": {
"mapHierarchyString": "Singapore>SINGAPORE UE BIZHUB EAST (SNG11)>SNG11-5Fl>SingZone",
"floorRefId": "739764660256899136",
"floorDimension": {
"length": 118.11024,
"width": 184.05511,
"height": 9.84252,
"offsetX": 0,
"offsetY": 0,
"unit": "FEET"
},
"image": {
"imageName": "domain_0_1380690706964.png",
"zoomLevel": 4,
"width": 1440,
"height": 900,
"size": 1440,
"maxResolution": 8,
"colorDepth": 8
}
},
"mapCoordinate": {
"x": 108.84515,
"y": 68.62626,
"z": 0,
"unit": "FEET"
},
"currentlyTracked": true,
"confidenceFactor": 72,
"statistics": {
"currentServerTime": "2016-06-16T02:20:42.974+0800",
"firstLocatedTime": "1970-01-01T07:30:00.000+0730",
"lastLocatedTime": "2016-06-16T02:20:39.336+0800",
"maxDetectedRssi": {
"apMacAddress": "64:f6:9d:2a:05:00",
"band": "IEEE_802_11_B",
"slot": 0,
"rssi": -58,
"antennaIndex": 0,
"lastHeardInSeconds": 1
}
},
"historyLogReason": null,
"geoCoordinate": {
"latitude": 1.3347778969996247,
"longitude": 103.96366325767761,
"unit": "DEGREES"
},
"networkStatus": "ACTIVE",
"changedOn": 1466014839336,
"telemetryList": null,
"batteryInfo": {
"tolerance": 70,
"percentRemaining": 100,
"daysRemaining": 0,
"batteryAge": 0,
"lastReceivedTime": "2016-06-09T06:38:29.748+0800",
"lastReceivedSeqNum": 2221
},
"vendorData": {
"vendorId": 6286,
"elementId": 0,
"data": "AAMAAQEABAABAQ==",
"lastReceivedTime": "2016-06-09T06:38:29.748+0800",
"lastReceivedSeqNum": 2221
},
"sortedEmergencyList": null,
"sortedChokepointList": null,
"lastBeaconTime": null,
"lastBeaconSequenceNumber": 2221,
"manufacturer": "Ekahau"
}
GET: Active RFID Tags Count
Description
This API returns active RFID tags count.
HTTP Method
GET
Resource URI
/api/location/v1/tags/count
Requires OAuth
N
Parameters
None.
Content Type
application/json
Sample Output
{
"deviceType":"Tag",
"deviceQueryString":null,
"count":8
}
GET: All Tags
Description
This API returns all tags.
HTTP Method
GET
Resource URI
/api/location/v1/tags
Requires OAuth
N
Parameters
None.
Content Type
application/json
Sample Output (JSON)
[
{
"macAddress": "98:07:2d:2a:13:f0",
"mapInfo": {
"mapHierarchyString": "Nortech Campus>Nortech-1>1st Floor>Tm",
"floorRefId": "727035700041482264",
"floorDimension": {
"length": 49.9,
"width": 81,
"height": 10,
"offsetX": 0,
"offsetY": 0,
"unit": "FEET"
},
"image": {
"imageName": "domain_0_1461628766707.png",
"zoomLevel": 4,
"width": 2008,
"height": 1097,
"size": 2008,
"maxResolution": 8,
"colorDepth": 8
}
},
"mapCoordinate": {
"x": 46.621124,
"y": 43.95517,
"z": 0,
"unit": "FEET"
},
"currentlyTracked": true,
"confidenceFactor": 88,
"locComputeType": "RSSI",
"statistics": {
"currentServerTime": "2017-12-04T00:05:41.824-0800",
"firstLocatedTime": "2017-12-04T00:05:30.305-0800",
"lastLocatedTime": "2017-12-04T00:05:36.315-0800",
"maxDetectedRssi": {
"apMacAddress": "cc:16:7e:32:63:60",
"band": "IEEE_802_11_B",
"slot": 0,
"rssi": -59,
"antennaIndex": 0,
"lastHeardInSeconds": 6
}
},
"historyLogReason": null,
"geoCoordinate": {
"latitude": 37.42250281440575,
"longitude": -121.95978545449093,
"unit": "DEGREES"
},
"rawLocation": {
"rawX": -999,
"rawY": -999,
"unit": "FEET"
},
"networkStatus": "ACTIVE",
"changedOn": 1512374736315,
"telemetryList": null,
"batteryInfo": null,
"vendorData": null,
"sortedEmergencyList": null,
"sortedChokepointList": null,
"lastBeaconTime": null,
"lastBeaconSequenceNumber": 0,
"deviceSubtype": "BLE",
"bleAttributesList": [
{
"profileType": "IBEACON",
"deviceName": "",
"uuid": "20CAE8A0A9CF11E3A5E20800200C9A66",
"major": 42,
"minor": 5104,
"power": -70,
"frequency": 0,
"revision": 0,
"battery": 0,
"firmware": null,
"hardware": null,
"eddystoneURL": "",
"eddystoneNamespace": "",
"eddystoneInstanceid": "",
"batteryObject": [
{
"sourceIndex": 1,
"percentage": 0,
"milliVolts": 0
},
{
"sourceIndex": 2,
"percentage": 0,
"milliVolts": 0
},
{
"sourceIndex": 3,
"percentage": 0,
"milliVolts": 0
}
]
}
],
"manufacturer": "Texas Instruments"
},
{
"macAddress": "98:07:2d:2a:11:c0",
"mapInfo": {
"mapHierarchyString": "Nortech Campus>Nortech-1>1st Floor>CMX Bar",
"floorRefId": "727035700041482264",
"floorDimension": {
"length": 49.9,
"width": 81,
"height": 10,
"offsetX": 0,
"offsetY": 0,
"unit": "FEET"
},
"image": {
"imageName": "domain_0_1461628766707.png",
"zoomLevel": 4,
"width": 2008,
"height": 1097,
"size": 2008,
"maxResolution": 8,
"colorDepth": 8
},
"tagList": [
"Lobby"
]
},
"mapCoordinate": {
"x": 52.03835,
"y": 23.021484,
"z": 0,
"unit": "FEET"
},
"currentlyTracked": true,
"confidenceFactor": 120,
"locComputeType": "RSSI",
"statistics": {
"currentServerTime": "2017-12-04T00:05:41.825-0800",
"firstLocatedTime": "2017-12-04T00:05:36.306-0800",
"lastLocatedTime": "2017-12-04T00:05:36.306-0800",
"maxDetectedRssi": {
"apMacAddress": "f8:0b:cb:3c:01:80",
"band": "IEEE_802_11_B",
"slot": 0,
"rssi": -68,
"antennaIndex": 0,
"lastHeardInSeconds": 1
}
},
"historyLogReason": null,
"geoCoordinate": {
"latitude": 37.4224445499256,
"longitude": -121.9598048699379,
"unit": "DEGREES"
},
"rawLocation": {
"rawX": -999,
"rawY": -999,
"unit": "FEET"
},
"networkStatus": "ACTIVE",
"changedOn": 1512374736306,
"telemetryList": null,
"batteryInfo": null,
"vendorData": null,
"sortedEmergencyList": null,
"sortedChokepointList": null,
"lastBeaconTime": null,
"lastBeaconSequenceNumber": 0,
"deviceSubtype": "BLE",
"bleAttributesList": [
{
"profileType": "IBEACON",
"deviceName": "",
"uuid": "20CAE8A0A9CF11E3A5E20800200C9A66",
"major": 42,
"minor": 4544,
"power": -70,
"frequency": 0,
"revision": 0,
"battery": 0,
"firmware": null,
"hardware": null,
"eddystoneURL": "",
"eddystoneNamespace": "",
"eddystoneInstanceid": "",
"batteryObject": [
{
"sourceIndex": 1,
"percentage": 0,
"milliVolts": 0
},
{
"sourceIndex": 2,
"percentage": 0,
"milliVolts": 0
},
{
"sourceIndex": 3,
"percentage": 0,
"milliVolts": 0
}
]
}
],
"manufacturer": "Texas Instruments"
}
]