TRACKABLES

Use the Trackable API to:

  • Get all trackables in the project
  • Get all trackables in the company
  • Get trackables active for period
  • Get one trackable by a specified UID
  • Get the last reported positions of trackables
  • Create a new trackable
  • Update a trackable
  • Update the groups to which a trackable belongs
  • Delete a trackable

Use the Trackable Associations API to:

  • Get all trackable associations
  • Get a single trackable association
  • Get a single trackable association history
  • Add a new trackable association
  • Update a trackable association
  • Close a trackable association
  • Delete a trackable association

Use the Trackable Sensor API to:

  • Update the sensor config for a trackable object
  • Get the sensor config for a trackable object
  • Request the sensor data for a trackable object
  • Send the sensor data for a trackable object

Note: The following terminology has changed.

Current Term Former Term Definition
Area Sublocation A section of a site that has its own floorplan. For example, each floor of a multi-story building can be defined as an area.
Buffer Dynamic zone, or circle zone A circular geofence with a defined radius. It is connected to a specific trackable and moves with it.
Site Location A space that has RTLS coverage. For example, a building or a campus. A server might service one or more sites.
Trackable Trackable object A person or item to be tracked, which is associated with the MAC address of a node.

HTTP Headers

The HTTP headers used to access all RTLS APIs are listed below. Before submitting requests to the Trackable Objects API, set the following headers:

Header Name Example Value Description
X-User-Email admin@example.com Email of the user performing HTTP requests to the API.
X-User-Token Drv3yU7PdyqUMtr89erZ Token allowing the user access to the API.
X-User-Project OfOgUA4kTs2HrmYYlFw6Jg Project identifier. Value of the project.uid field.
Set header X-USER-EMAIL

Send a request to log in using POST api/auth/log_in.json described in the Auth API. Using the email address returned in the response, set: X-USER-EMAIL = data.email

Set header X-USER-TOKEN

Send a request to log in using POST api/auth/log_in.json described in the Auth API. Using the authentication token returned in the response, set: X-USER-TOKEN = data.token

Set header X-USER-PROJECT

Send a request to get projects using GET api/projects/ described in the Projects API. You must send this request with headers X-USER-EMAIL and X-USER-TOKEN already set. Using the project UID returned in the response, set: X-USER-PROJECT = projects[i].uid

Trackable endpoints

Functionality Method Endpoint
get trackables GET api/trackable_objects/
get single trackable GET api/trackable_objects/{uid}
get trackable by mac address GET api/trackable_objects?mac_address={mac address}
get trackables active for period GET api/trackable_objects/active_for_period?sublocation_uid=<uid>&from=<ts>&to=<ts>
get the last active time for trackables GET api/trackable_objects/lastActive
add trackables POST api/trackable_objects/
update trackable PUT api/trackable_objects/{uid}
update groups for trackables PUT api/trackable_objects/{uid}/groups/
delete trackables DELETE api/trackable_objects/{uid}
get trackable associations GET api/trackable_objects_associations/
get single trackable association GET api/trackable_objects_associations/{uid}
get trackable associations history GET api/trackable_objects_associations?start={timestamp in seconds}&end={timestamp in seconds}&obj_uid={uid}
add trackable association POST api/trackable_objects_associations/
update trackable association PUT api/trackable_objects_associations/{uid}
close trackable association PUT api/trackable_objects_associations/close
delete trackable association DELETE api/trackable_objects_associations/{uid}
update sensor config for trackable object PUT api/trackable_objects/{uid}/sensor_config
get sensor config for trackable object GET api/trackable_objects/{uid}/sensor_config
request sensor data for trackable object POST api/trackable_objects/{uid}/sensor_data/request
send sensor data for trackable object POST api/trackable_objects/{uid}/sensor_data/send

Compatibility Rules for Category, Role and Stationary

Category \ Role disabled monitor announcer
PERSON + + +
VEHICLE + +
UNSPECIFIED+ S? S
ASSET +
+ - field values are compatible
S - stationary editable (can be set to TRUE)
? - field values are compatible if stationary is TRUE

PWS Configuration

# Fields Category: PERSON VEHICLE UNSPECIFIED
Role: disabled monitor announcer disabled announcer disabled monitor
1 alarm_back ++ + +
2 delay ++
3 safe_distance +
4 distance + +
5 alert_distance + +
6 pin ++ + +
7 angle + +
8 haptic ++ +
9 buzzer ++ +
+ - field is required in the corresponding configuration

Endpoints

Trackable

Get trackables

GET api/trackable_objects/

Get all trackables for the project.

Response fields

Field Description
trackableObjects[].name The trackable name.
trackableObjects[].uid The unique identifier of a trackable.
trackableObjects[].default_height The default height of the trackable, in millimeters.
trackableObjects[].pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
trackableObjects[].display_name Reserved field.
trackableObjects[].bt_config Bluetooth configuration for the trackable.
trackableObjects[].acc_config Accelerometer configuration for the trackable.
trackableObjects[].created_at The time stamp when the trackable was created, in UTC.
trackableObjects[].updated_at The time stamp when the trackable was last updated, in UTC.
trackableObjects[].self_zone_uid The unique identifier of the trackable's buffer, if it exists. For more information about buffers, see the Zones API document.
trackableObjects[].removed_at Reserved field.
trackableObjects[].project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].company_uid The unique identifier of the company to which the trackable is assigned.
trackableObjects[].sensor_config Configuration of sensors.
trackableObjects[].sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
trackableObjects[].groups The array of group UIDs that are assigned to the trackable.
trackableObjects[].type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
trackableObjects[].node A JSON object with information about the node associated with the trackable, if any.
trackableObjects[].node.mac_address The MAC address of the node associated to the trackable.
trackableObjects[].node.responsive Missing several consecutive heartbeats means that the trackable associated with the tag becomes not “responsive”, i.e. not present in the system anymore and not ready to function:
  • true
  • false
trackableObjects[].node.idle The state which indicates that the trackable has been sending heartbeats but hasn't moved a distance greater than 3 meters within the latest 3 minutes:
  • true
  • false
trackableObjects[].node.parent_sublocation_uid The unique identifier of the area where the parent node is located.
trackableObjects[].node.cbid Carrier board identifier.
trackableObjects[].node.node_id Unique decimal identifier of the assigned node per server instance.
trackableObjects[].position_update_interval The interval, in seconds, between each position update.
trackableObjects[].t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
trackableObjects[].tag_config Object with trackable specific configuration.
trackableObjects[].tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
trackableObjects[].tag_config.t2t_cfg The object with PWS configuration.
trackableObjects[].tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
trackableObjects[].tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
trackableObjects[].tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
trackableObjects[].tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
trackableObjects[].tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
trackableObjects[].position Last known position within the area.
trackableObjects[].position.dev_id The unique identifier of the trackable. (available for stationary = false)
trackableObjects[].position.mac The MAC address associated with the trackable. (available for stationary = false)
trackableObjects[].position.ts The time stamp of the trackable's last report, in UTC. (available for stationary = false)
trackableObjects[].position.x The x coordinate, in millimeters.
trackableObjects[].position.y The y coordinate, in millimeters.
trackableObjects[].position.z The z coordinate, in millimeters.
trackableObjects[].position.sl_id The unique identifier of the area.
trackableObjects[].position.type Position type UWB or HB
trackableObjects[].position.project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].position.inactive Reserved for future use. (available for stationary = false)
trackableObjects[].position.to_type_id Object type id
  • 1 - ANCHOR
  • 2 - MOBILE
  • 3 - UNDEFINED
  • 4 - BRIDGE
  • 5 - NAV
  • 6 - ASSET
trackableObjects[].position.ms The time, in milliseconds, since the trackable last reported. (available for stationary = false)
trackableObjects[].position.sl Sublocation id
trackableObjects[].position.sl_uid The unique identifier of the area. (available for stationary = false)
trackableObjects[].position.edge_corr Reserved for future use. (available for stationary = false)
trackableObjects[].position.locationId The identifier of the site in the context of the database. (available for stationary = false)
trackableObjects[].custom_info Information entered in the custom_info field of the request will display in this field.
trackableObjects[].category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
trackableObjects[].paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Response

{
    "trackableObjects": [
        {
            "name": "Pallet 5143d",
            "uid": "65IWXxnxRw2qJqwWdsnUJA",
            "default_height": 1000,
            "pos_report_frequency": 60,
            "display_name": "Pallet 5143d",
            "bt_config": null,
            "acc_config": null,
            "created_at": "2018-04-01T14:55:05.000Z",
            "updated_at": "2018-04-20T19:17:08.000Z",
            "self_zone_uid": null,
            "removed_at": "9999-12-31T23:59:59.000Z",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "company_uid": "xGSFMhN4TmOIK1432Lxb0w",
            "sensor_config": {
                "sensors": [
                    {"type": "UART_0", "enabled": true, "reliable": false}
                ]
            },
            "groups": [
                "nOR4gS42QmaDu6af6kRLVA"
            ],
            "type": "NAV",
            "node": {
                "idle": false,
                "mac_address": "e4956ea40154",
                "responsive": true,
                "parent_sublocation_uid": "eGqeE_U6TmmgYkxJY1JSOw",
                "cbid": "000a",
                "node_id": 1
            },
            "position_update_interval": 1,
            "t2t_no_alarm_uid": [],
            "tag_config": {
                "stationary": false,
                "t2t_no_alarm": [],
                "t2t_cfg": {
                  "role": "monitor",
                  "alarm_back": true,
                  "pin": "OFF",
                  "delay": 1
                }
            },
            "position": {
                "x": -9328,
                "y": -6688,
                "z": 1008,
                "locationId": 0,
                "mac": "e4956ea40154",
                "inactive": false,
                "edge_corr": false,
                "ts": 1525604536,
                "ms": 714,
                "sl_id": "eGqeE_U6TmmgYkxJY1JSOw",
                "sl": 1,
                "dev_id": "65IWXxnxRw2qJqwWdsnUJA",
                "sl_uid": "eGqeE_U6TmmgYkxJY1JSOw"
            },
            "custom_info": "some text",
            "paired": null,
            "category": "PERSON"
        }
    ]
}

Get single trackable

GET api/trackable_objects/{uid}

Get a trackable with a specified trackable UID. To retrieve a trackable UID, see get trackables.

Response fields

Field Description
trackableObjects[].name The trackable name.
trackableObjects[].uid The unique identifier of a trackable.
trackableObjects[].default_height The default height of the trackable, in millimeters.
trackableObjects[].pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
trackableObjects[].display_name Reserved field.
trackableObjects[].bt_config Bluetooth configuration for the trackable.
trackableObjects[].acc_config Accelerometer configuration for the trackable.
trackableObjects[].created_at The time stamp when the trackable was created, in UTC.
trackableObjects[].updated_at The time stamp when the trackable was last updated, in UTC.
trackableObjects[].self_zone_uid The unique identifier of the trackable's buffer, if it exists. For more information about buffers, see the Zones API document.
trackableObjects[].removed_at Reserved field.
trackableObjects[].project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].company_uid The unique identifier of the company to which the trackable is assigned.
trackableObjects[].sensor_config Configuration of sensors.
trackableObjects[].sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
trackableObjects[].groups The array of group UIDs that are assigned to the trackable.
trackableObjects[].type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
trackableObjects[].node A JSON object with information about the node associated with the trackable, if any.
trackableObjects[].node.mac_address The MAC address of the node associated to the trackable.
trackableObjects[].node.responsive Missing several consecutive heartbeats means that the trackable associated with the tag becomes not “responsive”, i.e. not present in the system anymore and not ready to function:
  • true
  • false
trackableObjects[].node.idle The state which indicates that the trackable has been sending heartbeats but hasn't moved a distance greater than 3 meters within the latest 3 minutes:
  • true
  • false
trackableObjects[].node.parent_sublocation_uid The unique identifier of the area where the parent node is located.
trackableObjects[].node.cbid Carrier board identifier.
trackableObjects[].node.node_id Unique decimal identifier of the assigned node per server instance.
trackableObjects[].position_update_interval The interval, in seconds, between each position update.
trackableObjects[].t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
trackableObjects[].tag_config Object with trackable specific configuration.
trackableObjects[].tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
trackableObjects[].tag_config.t2t_cfg The object with PWS configuration.
trackableObjects[].tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
trackableObjects[].tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
trackableObjects[].tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
trackableObjects[].tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
trackableObjects[].tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
trackableObjects[].position Last known position within the area.
trackableObjects[].position.dev_id The unique identifier of the trackable. (available for stationary = false)
trackableObjects[].position.mac The MAC address associated with the trackable. (available for stationary = false)
trackableObjects[].position.ts The time stamp of the trackable's last report, in UTC. (available for stationary = false)
trackableObjects[].position.x The x coordinate, in millimeters.
trackableObjects[].position.y The y coordinate, in millimeters.
trackableObjects[].position.z The z coordinate, in millimeters.
trackableObjects[].position.sl_id The unique identifier of the area.
trackableObjects[].position.type Position type UWB or HB
trackableObjects[].position.project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].position.inactive Reserved for future use. (available for stationary = false)
trackableObjects[].position.to_type_id Object type id
  • 1 - ANCHOR
  • 2 - MOBILE
  • 3 - UNDEFINED
  • 4 - BRIDGE
  • 5 - NAV
  • 6 - ASSET
trackableObjects[].position.ms The time, in milliseconds, since the trackable last reported. (available for stationary = false)
trackableObjects[].position.sl Sublocation id
trackableObjects[].position.sl_uid The unique identifier of the area. (available for stationary = false)
trackableObjects[].position.edge_corr Reserved for future use. (available for stationary = false)
trackableObjects[].position.locationId The identifier of the site in the context of the database. (available for stationary = false)
trackableObjects[].custom_info Information entered in the custom_info field of the request will display in this field.
trackableObjects[].category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
trackableObjects[].paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Response

{
    "trackableObjects": [
        {
            "name": "Pallet 5143d",
            "uid": "65IWXxnxRw2qJqwWdsnUJA",
            "default_height": 1000,
            "pos_report_frequency": 60,
            "display_name": "Pallet 5143d",
            "bt_config": null,
            "acc_config": null,
            "created_at": "2018-04-01T14:55:05.000Z",
            "updated_at": "2018-04-20T19:17:08.000Z",
            "self_zone_uid": null,
            "removed_at": "9999-12-31T23:59:59.000Z",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "company_uid": "xGSFMhN4TmOIK1432Lxb0w",
            "sensor_config": {
                "sensors": [
                    {"type": "UART_0", "enabled": true, "reliable": false}
                ]
            },
            "groups": [
                "nOR4gS42QmaDu6af6kRLVA"
            ],
            "type": "NAV",
            "node": {
                "idle": false,
                "mac_address": "e4956ea40154",
                "responsive": true,
                "parent_sublocation_uid": "eGqeE_U6TmmgYkxJY1JSOw",
                "cbid": "000a",
                "node_id": 1
            },
            "tag_config": {
                "stationary": false,
                "t2t_cfg": {
                    "role": "announcer",
                    "safe_distance": 1000,
                    "distance": 1000,
                    "alert_distance": 1000,
                    "pin": "OFF",
                    "delay": 1,
                    "angle": 130
                }
            },
            "position_update_interval": 1,
            "position": {
                "x": -9328,
                "y": -6688,
                "z": 1008,
                "locationId": 0,
                "mac": "e4956ea40154",
                "inactive": false,
                "edge_corr": false,
                "ts": 1525604536,
                "ms": 714,
                "sl_id": "eGqeE_U6TmmgYkxJY1JSOw",
                "sl": 1,
                "dev_id": "65IWXxnxRw2qJqwWdsnUJA",
                "sl_uid": "eGqeE_U6TmmgYkxJY1JSOw"
            },
            "custom_info": "some text",
            "paired": null,
            "category": "PERSON"
        }
    ]
}

Get trackable by MAC address

GET api/trackable_objects?mac_address={mac_address}

Gets a single trackable that is associated with the MAC address of a specific node.

Response fields

Field Description
name The trackable name.
uid The unique identifier of a trackable.
default_height The default height of the trackable, in millimeters.
pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
display_name Reserved field.
bt_config Bluetooth configuration for the trackable.
acc_config Accelerometer configuration for the trackable.
created_at The time stamp when the trackable was created, in UTC.
updated_at The time stamp when the trackable was last updated, in UTC.
self_zone_uid The unique identifier of the trackable's buffer, if it exists. For more information about buffers, see the Zones API document.
removed_at Reserved field.
project_uid The unique identifier of the project to which the trackable is assigned.
company_uid The unique identifier of the company to which the trackable is assigned.
sensor_config Configuration of sensors.
sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
groups The array of group UIDs that are assigned to the trackable.
type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
node A JSON object with information about the node associated with the trackable, if any.
node.mac_address The MAC address of the node associated to the trackable.
node.responsive Missing several consecutive heartbeats means that the trackable associated with the tag becomes not “responsive”, i.e. not present in the system anymore and not ready to function:
  • true
  • false
node.idle The state which indicates that the trackable has been sending heartbeats but hasn't moved a distance greater than 3 meters within the latest 3 minutes:
  • true
  • false
node.parent_sublocation_uid The unique identifier of the area where the parent node is located.
node.cbid Carrier board identifier.
node.node_id Unique decimal identifier of the assigned node per server instance.
position_update_interval The interval, in seconds, between each position update.
t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
tag_config Object with trackable specific configuration.
tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
tag_config.t2t_cfg The object with PWS configuration.
tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
position Last known position within the area.
position.x The x coordinate, in millimeters.
position.y The y coordinate, in millimeters.
position.z The z coordinate, in millimeters.
position.sl_id The unique identifier of the area.
custom_info Information entered in the custom_info field of the request will display in this field.
category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Response

{
    "trackableObjects": [
        {
            "name": "Pallet 5143d",
            "uid": "65IWXxnxRw2qJqwWdsnUJA",
            "default_height": 1000,
            "pos_report_frequency": 60,
            "display_name": "Pallet 5143d",
            "bt_config": null,
            "acc_config": null,
            "created_at": "2018-04-01T14:55:05.000Z",
            "updated_at": "2018-04-20T19:17:08.000Z",
            "self_zone_uid": null,
            "removed_at": "9999-12-31T23:59:59.000Z",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "company_uid": "xGSFMhN4TmOIK1432Lxb0w",
            "sensor_config": {
                "sensors": []
            },
            "groups": [
                "nOR4gS42QmaDu6af6kRLVA"
            ],
            "type": "NAV",
            "node": {
                "idle": false,
                "mac_address": "e4956ea40154",
                "responsive": true,
                "parent_sublocation_uid": "eGqeE_U6TmmgYkxJY1JSOw",
                "cbid": "000a",
                "node_id": 1
            },
            "position_update_interval": 1,
            "t2t_no_alarm_uid": [],
            "tag_config": {
                "stationary": true,
                "t2t_no_alarm": [],
                "t2t_cfg": {
                  "role": "disabled"
                }
            },
            "position": {
                "x": -9328,
                "y": -6688,
                "z": 1008,
                "sl": 1,
                "sl_id": "eGqeE_U6TmmgYkxJY1JSOw"
            },
            "custom_info": "some text",
            "paired": null,
            "category": "PERSON"
        }
    ]
}

Get trackables active for period

GET api/trackable_objects/active_for_period?sublocation_uid=<uid>&from=<ts>&to=<ts>

Get all trackables active in specified sublocation and period.

Request Fields

Field Required/Optional Type Description
sublocation_uid required string The unique identifier of the area from which you want to pull information. To retrieve an area UID, use GET api/sublocations described in the Sublocations API.
from required number The time stamp of the beginning of the time frame on which to be reported, in milliseconds.
to required number The time stamp of the end of the time frame on which to be reported, in milliseconds.

Response fields

Field Description
name The trackable name.
uid The unique identifier of a trackable.
default_height The default height of the trackable, in millimeters.
pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
display_name Reserved field.
bt_config Bluetooth configuration for the trackable.
acc_config Accelerometer configuration for the trackable.
created_at The time stamp when the trackable was created, in UTC.
updated_at The time stamp when the trackable was last updated, in UTC.
self_zone_uid The unique identifier of the trackable's buffer, if it exists. For more information about buffers, see the Zones API document.
removed_at Reserved field.
project_uid The unique identifier of the project to which the trackable is assigned.
company_uid The unique identifier of the company to which the trackable is assigned.
sensor_config Configuration of sensors.
sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
groups The array of group UIDs that are assigned to the trackable.
type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
node A JSON object with information about the node associated with the trackable, if any.
node.mac_address The MAC address of the node associated to the trackable.
node.responsive Missing several consecutive heartbeats means that the trackable associated with the tag becomes not “responsive”, i.e. not present in the system anymore and not ready to function:
  • true
  • false
node.idle The state which indicates that the trackable has been sending heartbeats but hasn't moved a distance greater than 3 meters within the latest 3 minutes:
  • true
  • false
node.parent_sublocation_uid The unique identifier of the area where the parent node is located.
node.cbid Carrier board identifier.
node.node_id Unique decimal identifier of the assigned node per server instance.
position_update_interval The interval, in seconds, between each position update.
t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
tag_config Object with trackable specific configuration.
tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
tag_config.t2t_cfg The object with PWS configuration.
tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
position Last known position within the area.
position.x The x coordinate, in millimeters.
position.y The y coordinate, in millimeters.
position.z The z coordinate, in millimeters.
position.sl_id The unique identifier of the area.
custom_info Information entered in the custom_info field of the request will display in this field.
category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Response

{
    "trackableObjects": [
        {
            "name": "Pallet 5143d",
            "uid": "65IWXxnxRw2qJqwWdsnUJA",
            "default_height": 1000,
            "pos_report_frequency": 60,
            "display_name": "Pallet 5143d",
            "bt_config": null,
            "acc_config": null,
            "created_at": "2018-04-01T14:55:05.000Z",
            "updated_at": "2018-04-20T19:17:08.000Z",
            "self_zone_uid": null,
            "removed_at": "9999-12-31T23:59:59.000Z",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "company_uid": "xGSFMhN4TmOIK1432Lxb0w",
            "sensor_config": {
                "sensors": []
            },
            "groups": [
                "nOR4gS42QmaDu6af6kRLVA"
            ],
            "type": "NAV",
            "node": {
                "idle": false,
                "mac_address": "e4956ea40154",
                "responsive": true,
                "parent_sublocation_uid": "eGqeE_U6TmmgYkxJY1JSOw",
                "cbid": "000a",
                "node_id": 1
            },
            "position_update_interval": 1,
            "t2t_no_alarm_uid": [],
            "tag_config": {
                "stationary": true,
                "t2t_no_alarm": []
            },
            "position": {
                "x": -9328,
                "y": -6688,
                "z": 1008,
                "sl_id": "eGqeE_U6TmmgYkxJY1JSOw"
            },
            "custom_info": "some text",
            "paired": null,
            "category": "PERSON"
        }
    ]
}

Get the last active time for trackables

GET api/trackable_objects/lastActive

Gets last reported information for all of the project's trackables that have reported to the server.

Response Fields

Field Description
mac_address The node's MAC address.
ts The time stamp of the trackable's last report, in UTC.
x The x coordinate, in millimeters.
y The y coordinate, in millimeters.
z The z coordinate, in millimeters.
locationId The identifier of the area in the context of the server.
sfsn Reserved field.
mac The node's MAC address.
inactive Reserved field.
edge_corr Reserved field.
pe_dim Reserved field.
type The position type.
ms The time, in milliseconds, since the trackable last reported.
sl_id The unique identifier of the area.
dev_id The unique identifier of the trackable.
sl_uid The unique identifier of the area.
slvr_mode Reserved field.
fom Reserved field.
project_uid The unique identifier of the project to which the trackable is assigned.
company_uid The unique identifier of the company to which the trackable is assigned.
sl The identifier of the area in the context of the project.
to_type_id The identifier of reporting device type

Example Response

{
    "positions": [
        {
            "x": -12816,
            "y": -1856,
            "z": 1008,
            "locationId": 0,
            "sfsn": 86,
            "mac": "e4956eae000a",
            "slvr_mode": "TDOA",
            "inactive": false,
            "edge_corr": false,
            "pe_dim": 2,
            "ts": 1574355113,
            "ms": 871,
            "fom": 50,
            "dev_id": "s6oke3tPSfqZVkhBoFDdqA",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "company_uid": "xGSFMhN4TmOIK1432Lxb0w",
            "sl_id": "eGqeE_U6TmmgYkxJY1JSOw",
            "sl": 39,
            "to_type_id": 5,
            "type": "UWB",
            "sl_uid": "eGqeE_U6TmmgYkxJY1JSOw"
        },
        {
            "dev_id": "s6oke3tPSfqZVkhBoFDdqA",
            "mac": "e4956eae000a",
            "ts": 1574355940,
            "x": -13152,
            "y": -1520,
            "z": 1000,
            "sl_id": "eGqeE_U6TmmgYkxJY1JSOw",
            "type": "HB",
            "project_uid": "jVrlR-ZERcmq0urnJ41Jgg",
            "inactive": true,
            "to_type_id": 5,
            "ms": 891,
            "sl": 39,
            "sl_uid": "eGqeE_U6TmmgYkxJY1JSOw"
        }
    ]
}

Add trackables

POST api/trackable_objects/

Creates a new trackable.

Request Fields

Field Required/Optional Type Description
name required string(255) The name of the trackable.
default_height optional number The default height of the trackable, in millimeters.
pos_report_frequency (Deprecated) optional number The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
display_name optional string(255) The trackable label that displays on the badge screen.
type optional string The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
position_update_interval optional number The interval, in seconds, between each position update.
  • For an asset-type trackable, the interval between updates cannot be less than 5 seconds. Any value less than 5 seconds returns a 0 value.
sensor_config optional object Configuration of sensors.
sensor_config.sensors optional array Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
sensor_config.sensors[].type required string The type of sensor configuration. Available configuration:
  • UART_0
sensor_config.sensors[].reliable required boolean All sensor types may use a reliable delivery mechanism. The “Reliable” field is optional; if not present, the default value is false.
sensor_config.sensors[].enabled required boolean Used for enabling/disabling UART_0 sensor configuration:
  • true
  • false
t2t_no_alarm_uid optional array The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
tag_config optional object Object with trackable specific configuration.
tag_config.stationary* optional boolean The attribute for specifying a tag as stationary:
  • true
  • false
tag_config.t2t_cfg optional object The object with PWS configuration.
tag_config.t2t_cfg.role* required string The PWS role:
  • disabled
  • monitor
  • announcer
tag_config.t2t_cfg.alarm_back required** boolean The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.safe_distance required** number The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
tag_config.t2t_cfg.distance required** number Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.alert_distance required** number Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.pin required** string The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.delay required** number Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
tag_config.t2t_cfg.angle required** number The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
tag_config.t2t_cfg.haptic required** boolean Enables tactile sensor. Applicable only when the category is set to "Person".
tag_config.t2t_cfg.buzzer required** boolean Enables audio signaling. Applicable only when the category is set to "Person".
custom_info optional string Optionally, enter up to 128 characters of custom information for the trackable.
category* optional string Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
position optional object A JSON object with position information for stationary tag. Specify only for stationary=true
position.x required number The x coordinate, in millimeters.
position.y required number The y coordinate, in millimeters.
position.z required number The z coordinate, in millimeters.
position.sl_id required number The unique identifier of the area.
buffer optional object A JSON object that describes the attached buffer.
buffer.active optional boolean The status of the buffer. Inactive buffers do not generate alarms.
  • true - The buffer is active.
  • false - The buffer is inactive.
Note: If you are creating a buffer, this field is required.
buffer.shape optional string The shape of the buffer:
  • circle
Note: If you are creating a buffer, this field is required.
buffer.geometry optional object A JSON object with information about the geometry of the buffer.
buffer.geometry.radius optional number The radius of the buffer in millimeters.

* - editable and compatibility of the marked fields are indicated in the table "Compatibility Rules for Category, Role and Stationary"
** - field is required in the corresponding configuration (see PWS Configuration)

Response Fields

Field Description
name The name of the trackable.
uid The unique identifier of the trackable.
default_height The default height of the trackable, in millimeters.
pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead. Note: This field is calculated from the value entered in the position_update_interval field.
display_name The trackable label that displays on the badge screen.
bt_config The bluetooth configuration.
acc_config The accelerometer configuration.
created_at The time stamp when the trackable was created, in UTC.
updated_at The time stamp when the trackable was last updated, in UTC.
self_zone_uid The unique identifier of the buffer associated with the trackable, if any.
removed_at Reserved for future use.
project_uid The unique identifier of the project to which the trackable is assigned.
company_uid The unique identifier of the company to which the trackable is assigned.
sensor_config Configuration of sensors.
sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
groups An array of group UIDs to which the trackable is assigned.
type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
position_update_interval The interval, in seconds, between each position update.
t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
tag_config Object with trackable specific configuration.
tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
tag_config.t2t_cfg The object with PWS configuration.
tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
buffer A JSON object that describes the attached buffer, if any.
buffer.active The status of the buffer. Inactive buffers do not generate alarms.
  • true - The buffer is active.
  • false - The buffer is inactive.
buffer.shape The shape of the buffer:
  • circle
  • polygon
buffer.geometry A JSON object with information about the geometry of the buffer.
buffer.geometry.radius The radius of the buffer.
custom_info Information entered in the custom_info field of the request will display in this field.
category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Request

{
            "name": "Test",
            "default_height": 1000,
            "pos_report_frequency": 1,
            "display_name": null,
            "type": "ASSET",
            "position_update_interval": 60,
            "buffer": {
                "active": true,
                "shape": "circle",
                "geometry": {
                  "radius": 50
                }
            },
            "custom_info": "some text"
}

Example Response

{
    "name": "Test",
    "uid": "moxilYErzhJACw7TWCBiCQ",
    "default_height": 1000,
    "pos_report_frequency": 1,
    "display_name": null,
    "bt_config": null,
    "acc_config": null,
    "created_at": "2018-05-07T20:14:55.000Z",
    "updated_at": "2018-05-07T20:14:55.000Z",
    "self_zone_uid": "gxipGDHDBzJAr4sZZ1VwI3",
    "removed_at": "9999-12-31T23:59:59.000Z",
    "project_uid": "DKm0IZTKoVqN9KTofLiMJ4",
    "company_uid": "PrQbLO4RMGwLUnvjcIug1k",
    "sensor_config": null,
    "groups": null,
    "type": "ASSET",
    "position_update_interval": 60,
    "t2t_no_alarm_uid": [],
    "tag_config": {
        "stationary": false,
        "t2t_no_alarm": []
    },
    "custom_info": "some text",
    "paired": null,
    "category": "PERSON"
}

Errors

Error Status Error Type Error Body Error Description
422 Unprocessable Entity {"message":"\"name\" is not allowed to be empty","path":"name","type":"any.empty","context":{"key":"name"}} The required "name" field was left empty.
422 Unprocessable Entity {"message":"\"type\" is not allowed to be empty","path":"type","type":"any.empty","context":{"key":"type"}} The required "type" field was left empty.
422 Unprocessable Entity {"message":"Trackable object. Stationary tag must have MOBILE or NAVIGATION type."} The stationary tag must have type MOBILE or NAVIGATION.
422 Unprocessable Entity {"message":"Trackable object. Stationary tag mast have field position with sub-fields x, y, z, sl_id."} The stationary tag must have field position with sub-fields x, y, z, sl_id. Field position not specified.
422 Unprocessable Entity {"message":"t2t_no_alarm can only be configured for a trackable with the role monitor."} t2t_no_alarm_uid can be set only for role monitor.

Update trackable

PUT api/trackable_objects/{uid}

Edit a trackable with a specified trackable UID. To retrieve a trackable UID, see get trackables.

Request Fields

Field Required/Optional Type Description
name optional string(255) The name of the trackable.
default_height optional number The default height of the trackable, in millimeters.
pos_report_frequency (Deprecated) optional number The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
display_name optional string(255) The trackable label that displays on the badge screen.
type optional string The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
position_update_interval optional number The interval, in seconds, between each position update.
sensor_config optional object Configuration of sensors.
sensor_config.sensors optional array Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
sensor_config.sensors[].type required string The type of sensor configuration. Available configuration:
  • UART_0
sensor_config.sensors[].reliable required boolean All sensor types may use a reliable delivery mechanism. The “Reliable” field is optional; if not present, the default value is false.
sensor_config.sensors[].enabled required boolean Used for enabling/disabling UART_0 sensor configuration:
  • true
  • false
t2t_no_alarm_uid optional array The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
tag_config optional object Object with trackable specific configuration.
tag_config.stationary* optional boolean The attribute for specifying a tag as stationary:
  • true
  • false
tag_config.t2t_cfg optional object The object with PWS configuration.
tag_config.t2t_cfg.role* required string The PWS role:
  • disabled
  • monitor
  • announcer
tag_config.t2t_cfg.alarm_back required** boolean The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.safe_distance required** number The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
tag_config.t2t_cfg.distance required** number Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.alert_distance required** number Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
tag_config.t2t_cfg.pin required** string The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
tag_config.t2t_cfg.delay required** number Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
tag_config.t2t_cfg.angle required** number The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
tag_config.t2t_cfg.haptic required** boolean Enables tactile sensor. Applicable only when the category is set to "Person".
tag_config.t2t_cfg.buzzer required** boolean Enables audio signaling. Applicable only when the category is set to "Person".
custom_info optional string Optionally, enter up to 128 characters of custom information for the trackable.
category* optional string Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
position optional array A JSON array with information about the position of the trackable.
bt_config optional string The bluetooth configuration.
acc_config optional string The accelerometer configuration.
self_zone_uid optional string The identifier of the buffer associated with the trackable, if any. Enter null if there is no attached buffer. For more information on buffers, see Zones API.
project_uid optional string The unique identifier of the project to which the trackable is assigned. This information cannot be changed.
company_uid optional string The unique identifier of the company to which the trackable is assigned.This information cannot be changed.
groups optional array An array of group UIDs to which the trackable is assigned. To retrieve a group UID, use GET api/groups described in Groups API.

* - editable and compatibility of the marked fields are indicated in the table "Compatibility Rules for Category, Role and Stationary"
** - field is required in the corresponding configuration (see PWS Configuration)

Response fields

Field Description
trackableObjects[].name The trackable name.
trackableObjects[].uid The unique identifier of a trackable.
trackableObjects[].default_height The default height of the trackable, in millimeters.
trackableObjects[].pos_report_frequency (Deprecated) The number of times per minute that the trackable should report its position. Deprecated and will be removed in 2021Q1. Use position_update_interval instead.
trackableObjects[].display_name Reserved field.
trackableObjects[].bt_config Bluetooth configuration for the trackable.
trackableObjects[].acc_config Accelerometer configuration for the trackable.
trackableObjects[].created_at The time stamp when the trackable was created, in UTC.
trackableObjects[].updated_at The time stamp when the trackable was last updated, in UTC.
trackableObjects[].self_zone_uid The unique identifier of the trackable's buffer, if it exists. For more information about buffers, see the Zones API document.
trackableObjects[].removed_at Reserved field.
trackableObjects[].project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].company_uid The unique identifier of the company to which the trackable is assigned.
trackableObjects[].sensor_config Configuration of sensors.
trackableObjects[].sensor_config.sensors Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
trackableObjects[].groups The array of group UIDs that are assigned to the trackable.
trackableObjects[].type The trackable type, which defines how the node reports:
  • NAV (default) - navigation type, for trackables that move frequently and with high update frequencies.
  • ASSET - asset type, for trackables that move less frequently and do not require high update frequencies.
  • MOBILE - reserved. Do not use.
trackableObjects[].node A JSON object with information about the node associated with the trackable, if any.
trackableObjects[].node.mac_address The MAC address of the node associated to the trackable.
trackableObjects[].node.responsive Missing several consecutive heartbeats means that the trackable associated with the tag becomes not “responsive”, i.e. not present in the system anymore and not ready to function:
  • true
  • false
trackableObjects[].node.idle The state which indicates that the trackable has been sending heartbeats but hasn't moved a distance greater than 3 meters within the latest 3 minutes:
  • true
  • false
trackableObjects[].node.parent_sublocation_uid The unique identifier of the area where the parent node is located.
trackableObjects[].node.cbid Carrier board identifier.
trackableObjects[].node.node_id Unique decimal identifier of the assigned node per server instance.
trackableObjects[].position_update_interval The interval, in seconds, between each position update.
trackableObjects[].t2t_no_alarm_uid The unique ID of an announcer trackable object which is configured as "no alarm" for the PWS configuration role of "monitor".
trackableObjects[].tag_config Object with trackable specific configuration.
trackableObjects[].tag_config.stationary The attribute for specifying a tag as stationary:
  • true
  • false
trackableObjects[].tag_config.t2t_cfg The object with PWS configuration.
trackableObjects[].tag_config.t2t_cfg.role The PWS role:
  • disabled
  • monitor
  • announcer
trackableObjects[].tag_config.t2t_cfg.alarm_back The attribute for specifying that a tag must report back to the announcer. Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.safe_distance The 360 degree radius around a tag that is not in motion. Can be set from 0-25000mm with increments of 100mm. Can only be used with the role of "announcer" and the category of "VEHICLE".
trackableObjects[].tag_config.t2t_cfg.distance Specifies a particular tag must act from the specified warning distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.alert_distance Specifies a particular tag must act from the specified alert distance. Values can be set from 0-25000mm with increments of 100mm. Warning distance is the highest severity level. Alert distance is the lowest severity level. Can only be used with the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.pin The attribute for specifying the LED indicator type:
  • OFF
  • SOLID(**Deprecated**)
  • PULSE
Can be used for "monitor" or "announcer" role.
trackableObjects[].tag_config.t2t_cfg.delay Allows tags to be within the alert distance of each other without triggering an alarm. Once the time has been exceeded an alarm will be triggered. Values can be set from 0-15 seconds. Can be used for "monitor" or "announcer" role in the "PERSON" category.
trackableObjects[].tag_config.t2t_cfg.angle The attribute for specifying a particular tag must act in the specified view angle, in degrees. Values are from 10-180 degrees. The angle can be incremented in values of 10 degrees, up to 180 degrees. After 180 the next value is 360 degrees. Can only be specified for the role of "announcer".
trackableObjects[].tag_config.t2t_cfg.haptic Enables tactile sensor. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_cfg.buzzer Enables audio signaling. Applicable only when the category is set to "Person".
trackableObjects[].tag_config.t2t_no_alarm Array of exceptions for t2t_cfg alarm. Available only for the PWS configuration role of "monitor".
trackableObjects[].tag_config.t2t_no_alarm.mac The MAC address of the exceptions. This field is read-only.
trackableObjects[].position Last known position within the area.
trackableObjects[].position.dev_id The unique identifier of the trackable. (available for stationary = false)
trackableObjects[].position.mac The MAC address associated with the trackable. (available for stationary = false)
trackableObjects[].position.ts The time stamp of the trackable's last report, in UTC. (available for stationary = false)
trackableObjects[].position.x The x coordinate, in millimeters.
trackableObjects[].position.y The y coordinate, in millimeters.
trackableObjects[].position.z The z coordinate, in millimeters.
trackableObjects[].position.sl_id The unique identifier of the area.
trackableObjects[].position.type Position type UWB or HB
trackableObjects[].position.project_uid The unique identifier of the project to which the trackable is assigned.
trackableObjects[].position.inactive Reserved for future use. (available for stationary = false)
trackableObjects[].position.to_type_id Object type id
  • 1 - ANCHOR
  • 2 - MOBILE
  • 3 - UNDEFINED
  • 4 - BRIDGE
  • 5 - NAV
  • 6 - ASSET
trackableObjects[].position.ms The time, in milliseconds, since the trackable last reported. (available for stationary = false)
trackableObjects[].position.sl Sublocation id
trackableObjects[].position.sl_uid The unique identifier of the area. (available for stationary = false)
trackableObjects[].position.edge_corr Reserved for future use. (available for stationary = false)
trackableObjects[].position.locationId The identifier of the site in the context of the database. (available for stationary = false)
trackableObjects[].custom_info Information entered in the custom_info field of the request will display in this field.
trackableObjects[].category Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED (default)
  • ASSET
trackableObjects[].paired Trackable VDA paired object. If no VDA paired=null Read only.

Example Request

Using GET api/trackable_objects/JVHuaO3Kn5T5kArMlSfSfj:

{
            "name": "Test",
            "default_height": 1000,
            "pos_report_frequency": null,
            "display_name": null,
            "bt_config": null,
            "acc_config": null,
            "self_zone_uid": null,
            "project_uid": "uy0FrukCVAEZiTe0KQzAr1",
            "company_uid": "ON4hju02RnzueXwVMQThRo",
            "groups": [],
            "type": "ASSET",
            "tag_config": {
                "stationary": false
            },
            "position": null,
            "position_update_interval": 60,
            "custom_info": "some text",
            "sensor_config": {
                "sensors": [
                    {"type": "UART_0", "enabled": true, "reliable": false}
                ]
            },
            "node": {
                    "mac_address": "0000000000d4",
                    "responsive": false,
                    "idle": false,
                    "parent_sublocation_uid": null,
                    "node_id": 189
            },
            "category": "PERSON"
}

Example Response

{
    "name": "Test",
    "uid": "JVHuaO3Kn5T5kArMlSfSfj",
    "default_height": 1000,
    "pos_report_frequency": 1,
    "display_name": null,
    "bt_config": null,
    "acc_config": null,
    "created_at": "2018-05-07T20:55:01.000Z",
    "updated_at": "2018-05-08T18:17:05.000Z",
    "self_zone_uid": null,
    "removed_at": "9999-12-31T23:59:59.000Z",
    "project_uid": "uy0FrukCVAEZiTe0KQzAr1",
    "company_uid": "ON4hju02RnzueXwVMQThRo",
    "sensor_config": {
        "sensors": [
            {"type": "UART_0", "enabled": true, "reliable": false}
        ]
    },
    "groups": null,
    "type": "ASSET",
    "t2t_no_alarm_uid": [],
    "tag_config": {
        "t2t_no_alarm": [],
        "stationary": false
    },
    "position_update_interval": 60,
    "paired": null,
    "node": {
        "mac_address": "0000000000d4",
        "responsive": false,
        "idle": false,
        "parent_sublocation_uid": null,
        "node_id": 189
    },
    "category": "PERSON"
}

Errors

Error Status Error Type Error Body Error Description
404 Not Found {"message": "Trackable Object ... not found", "name": "NotFoundError"} The requested UID does not exist.
422 Unprocessable Entity {"message":"Trackable object. Stationary tag must have MOBILE or NAVIGATION type."} The stationary tag must have type MOBILE or NAVIGATION.
422 Unprocessable Entity {"message":"Trackable object. Stationary tag mast have field position with sub-fields x, y, z, sl_id."} The stationary tag must have field position with sub-fields x, y, z, sl_id. The field position was not specified or can't be found on the server.
422 Unprocessable Entity {"message":"t2t_no_alarm can only be configured for a trackable with the role of monitor."} t2t_no_alarm_uid can be set only for role monitor.

Update groups for trackables

PUT api/trackable_objects/{uid}/groups/

Assign groups to a specified trackable with a specified trackable UID. To retrieve a trackable UID, see get trackables.

A successful request returns a status of 204.

When using this function, the groups entered overwrite all groups to which the trackable might currently be assigned. To add a group assignment to a trackable with existing group assignments, please ensure to enter all groups to which the trackable is currently assigned. To find this information, use get trackables.

For more information on groups, see the Groups API.

Request Fields

Field Required Type Description
array of group uids required array An array of group UIDs to be assigned to the trackable. To retrieve a group UID, use GET api/groups described in Groups API.

Example Request

Using PUT api/trackable_objects/sGJXlwnGKHrxg4BqkQ8aME/groups:

["eCHVVBV5TTi654321RH75w"]

Delete trackables

DELETE api/trackable_objects/{uid}

Delete a trackable with a specified trackable UID. To retrieve a trackable UID, see get trackables.

A successful request returns a status of 204.

Trackable Association

Get trackable associations

GET api/trackable_objects_associations/

Get a list of all trackable associations to node MAC addresses.

Response Fields

Field Description
trackable_objects_associations[].mac_address The MAC address for the associated node.
trackable_objects_associations[].trob_uid The unique identifier for the trackable associated to the MAC address.
trackable_objects_associations[].created_at The time stamp when the trackable association was created, in UTC.
trackable_objects_associations[].removed_at The time stamp when the trackable association was removed, in UTC.
trackable_objects_associations[].uid The unique identifier of the trackable association.
trackable_objects_associations[].project_uid The unique identifier of the associated project.
trackable_objects_associations[].company_uid The unique identifier of the associated company.
trackable_objects_associations[].obj_uid The unique identifier of the trackable associated to the MAC address.

Example Response

{
    "trackable_objects_associations": [
        {
            "mac_address": "ltwrg3jjmnin",
            "trob_uid": "JFOOK98XWW5xo1ZIpnVR8G",
            "created_at": "2018-05-06T16:04:35.000Z",
            "removed_at": "9999-12-31T23:59:59.000Z",
            "uid": "2gyail2J4ESay0K74nV7xt",
            "project_uid": "yVB8Y3I3vEnwBFDMmvrtc6",
            "company_uid": "FcNkuojKsgNoXubr5o7RDF",
            "obj_uid": "JFOOK98XWW5xo1ZIpnVR8G"
        },
        {
            "mac_address": "66l8yq9gsxe2",
            "trob_uid": "16cY3t7AnR5LdW57noOHEE",
            "created_at": "2018-04-18T13:38:12.000Z",
            "removed_at": "9999-12-31T23:59:59.000Z",
            "uid": "GUnK0vY6vo3GrLYpH9MJ1a",
            "project_uid": "yVB8Y3I3vEnwBFDMmvrtc6",
            "company_uid": "FcNkuojKsgNoXubr5o7RDF",
            "obj_uid": "mz7H1EgYSRGdg59SRK_ptg"
        },
        {
            "mac_address": "xgw9kvc8cd1k",
            "trob_uid": "ujrsMKqngtNJ3Gz0QGN39z",
            "created_at": "2018-04-18T13:38:12.000Z",
            "removed_at": "9999-12-31T23:59:59.000Z",
            "uid": "dVXizovGRQEe3OFAXWWbNh",
            "project_uid": "yVB8Y3I3vEnwBFDMmvrtc6",
            "company_uid": "FcNkuojKsgNoXubr5o7RDF",
            "obj_uid": "RgTrpOExSAWIGJErYParzQ"
        }
    ]
}

Get single trackable association

GET api/trackable_objects_associations/{uid}

Get a single trackable association based on a specified trackable association UID. To get a trackable association UID, use get trackable associations.

Response Fields

Field Description
trackable_objects_associations[].mac_address The MAC address for the associated node.
trackable_objects_associations[].trob_uid The unique identifier for the trackable associated to the MAC address.
trackable_objects_associations[].created_at The time stamp when the trackable association was created, in UTC.
trackable_objects_associations[].removed_at The time stamp when the trackable association was removed, in UTC.
trackable_objects_associations[].uid The unique identifier of the trackable association.
trackable_objects_associations[].project_uid The unique identifier of the associated project.
trackable_objects_associations[].company_uid The unique identifier of the associated company.
trackable_objects_associations[].obj_uid The unique identifier of the trackable associated to the MAC address.

Example Response

Using GET api/trackable_objects_associations/jk1gkpd3wcsb9pdt6v64o3:

{
    "trackable_objects_associations": [
        {
            "mac_address": "awfuzo641xktwjtq",
            "trob_uid": "jdt06kfsmklijcaigx675j",
            "created_at": "2018-05-06T16:04:35.000Z",
            "removed_at": "9999-12-31T23:59:59.000Z",
            "uid": "jk1gkpd3wcsb9pdt6v64o3",
            "project_uid": "yVB8Y3I3vEnwBFDMmvrtc6",
            "company_uid": "FcNkuojKsgNoXubr5o7RDF",
            "obj_uid": "jdt06kfsmklijcaigx675j"
        }
    ]
}

Get trackable associations history

GET api/trackable_objects_associations?start={timestamp in seconds}&end={timestamp in seconds}&obj_uid={uid}

Get a list of trackable associations for a specific object within the defined interval.

Response Fields

Field Description
trackable_objects_associations[].mac_address The MAC address for the associated node.
trackable_objects_associations[].trob_uid The unique identifier for the trackable associated to the MAC address.
trackable_objects_associations[].created_at The time stamp when the trackable association was created, in UTC.
trackable_objects_associations[].removed_at The time stamp when the trackable association was removed, in UTC.
trackable_objects_associations[].uid The unique identifier of the trackable association.
trackable_objects_associations[].project_uid The unique identifier of the associated project.
trackable_objects_associations[].company_uid The unique identifier of the associated company.
trackable_objects_associations[].obj_uid The unique identifier of the trackable associated to the MAC address.

Example Response

{
    "trackable_objects_associations": [
        {
             "mac_address": "00000000001e",
             "trob_uid": "-2uqvq-2TDqKdEgExqUggg",
             "created_at": "2018-11-22T11:58:32.000Z",
             "removed_at": "2018-11-22T11:58:36.000Z",
             "uid": "AzneMvUISZKGdzmKF09Y4g",
             "project_uid": "VMKRetiPRDKm0zUHDQ5x6g",
             "company_uid": "yKOZ2aViT-efThvsIS_Gcw",
             "obj_uid": "-2uqvq-2TDqKdEgExqUggg"
        },
        {
             "mac_address": "00000000001e",
             "trob_uid": "-2uqvq-2TDqKdEgExqUggg",
             "created_at": "2018-11-22T11:58:46.000Z",
             "removed_at": "2018-11-22T11:58:56.000Z",
             "uid": "I5AJBcOzRbmlqIpqXjW3MQ",
             "project_uid": "VMKRetiPRDKm0zUHDQ5x6g",
             "company_uid": "yKOZ2aViT-efThvsIS_Gcw",
             "obj_uid": "-2uqvq-2TDqKdEgExqUggg"
        },
        {
             "mac_address": "0000000000b5",
             "trob_uid": "-2uqvq-2TDqKdEgExqUggg",
             "created_at": "2018-11-13T09:56:15.000Z",
             "removed_at": "2018-11-22T11:56:35.000Z",
             "uid": "MsFw9AuIR2mnek3fZqhOPw",
             "project_uid": "VMKRetiPRDKm0zUHDQ5x6g",
             "company_uid": "yKOZ2aViT-efThvsIS_Gcw",
             "obj_uid": "-2uqvq-2TDqKdEgExqUggg"
        }
    ]
}

Add trackable association

POST api/trackable_objects_associations/

Add a new trackable association.

A trackable can only be associated to one MAC address. A MAC address can only be associated to one trackable. Both the trackable and the MAC address must be unassociated to create an association.

Request Fields

Field Required/Optional Type Description
mac_address required string The MAC address of the node to be associated. The MAC address can be found on a label on the hardware itself, or by using GET api/nodes described in Nodes API.
obj_uid required string The unique identifier of the trackable to be associated. To retrieve a trackable UID, see get trackables.

Response Fields

Field Description
mac_address The MAC address for the associated node.
trob_uid The unique identifier for the trackable associated to the MAC address.
created_at The time stamp when the trackable association was created, in UTC.
removed_at The time stamp when the trackable association was removed, in UTC.
uid The unique identifier of the trackable association.
project_uid The unique identifier of the associated project.
company_uid The unique identifier of the associated company.
obj_uid The unique identifier of the trackable associated to the MAC address.

Example Request

{
     "mac_address": "123456789123",
     "obj_uid": "ajztMtudHEC4GDqxtkeOOG"
}

Example Response

{
    "mac_address": "123456789123",
    "trob_uid": "ajztMtudHEC4GDqxtkeOOG",
    "created_at": "2018-05-08T19:22:00.000Z",
    "removed_at": "9999-12-31T23:59:59.000Z",
    "uid": "9LnArv2A5l7Dn9NXwLsRBd",
    "obj_uid": "ajztMtudHEC4GDqxtkeOOG"
}

Errors

Error Status Error Type Error Body Error Description
403 Forbidden {"message":"Item not present in tables nodes or trackable_objects", "name":"ForbiddenError"} The node MAC address or the UID of the trackable does not exist.
404 Not Found {"message":"Node is undefined", "name":"NotFoundError"} A required field is empty.
422 Unprocessable Entity {"message":"Exist not closed record for mac_address ...", "name":"UnprocessableEntityError"} The node is assigned to another trackable.
422 Unprocessable Entity {"message":"Exist not closed record for obj_uid ...", "name":"UnprocessableEntityError"} The trackable is assigned to another node.

Update trackable association

PUT api/trackable_objects_associations/{uid}

Edit the trackable association with a specified association UID. Use this request to change the trackable or the MAC address in the association.

To retrieve a trackable association UID, use get trackable associations. To retrieve a trackable UID, use get trackables.

Request Fields

Field Required/Optional Type Description
obj_uid required string The unique identifier of the trackable. To retrieve a trackable UID, see get trackables.
mac_address required string The MAC address of the node. The MAC address can be found on a label on the hardware itself, or by using GET api/nodes described in Nodes API.

Response Fields

Field Description
mac_address The MAC address for the associated node.
trob_uid The unique identifier for the trackable associated to the MAC address.
created_at The time stamp when the trackable association was created, in UTC.
removed_at The time stamp when the trackable association was removed, in UTC.
uid The unique identifier of the trackable association.
project_uid The unique identifier of the associated project.
company_uid The unique identifier of the associated company.
obj_uid The unique identifier of the trackable associated to the MAC address.

Example Request

Using PUT api/trackable_objects_associations/BF1ksQnNbu50C81x9yXB3C:

{
    "obj_uid": "htvQQNyxaAy0uiQ0dA9eaP",
    "mac_address": "987654321987"
}

Example Response

{
    "mac_address": "987654321987",
    "trob_uid": "htvQQNyxaAy0uiQ0dA9eaP",
    "created_at": "2018-05-09T14:37:32.000Z",
    "removed_at": "9999-12-31T23:59:59.000Z",
    "uid": "BF1ksQnNbu50C81x9yXB3C",
    "obj_uid": "htvQQNyxaAy0uiQ0dA9eaP"
}

Errors

Error Status Error Type Error Body Error Description
404 Not Found {"message":"Trackable association ... not found."} Trackable association not found.
404 Not Found {"message":"Trackable with ... not found."} Trackable not found.
404 Not Found {"message":"Node with mac address ... not found."} Node not found.

Close trackable association

PUT api/trackable_objects_associations/close

Close a trackable association.

Request Fields

Field Required/Optional Type Description
obj_uid required string The unique identifier of the associated trackable. To find a trackable UID, see get trackables.

Response Fields

Field Description
mac_address The MAC address for the associated node.
trob_uid The unique identifier for the trackable associated to the MAC address.
created_at The time stamp when the trackable association was created, in UTC.
removed_at The time stamp when the trackable association was removed, in UTC.
uid The unique identifier of the trackable association.
project_uid The unique identifier of the associated project.
company_uid The unique identifier of the associated company.
obj_uid The unique identifier of the trackable associated to the MAC address.

Example Request

{
      "obj_uid": "Gr-VX9qcT6OOqLBWsinBXA"
}

Example Response

{
    "mac_address": "000000000004",
    "trob_uid": "Gr-VX9qcT6OOqLBWsinBXA",
    "created_at": "2018-05-09T14:37:32.000Z",
    "removed_at": "2018-05-09T15:14:02.000Z",
    "uid": "1h8zLzz4hTJS96m0gROtrn",
    "obj_uid": "Gr-VX9qcT6OOqLBWsinBXA"
}

Errors

Error Status Error Type Error Body Error Description
403 Forbidden {"message":"No mac or trackable object uid specified.", "name":"ForbiddenError"} A required field is empty.

Delete trackable association

DELETE api/trackable_objects_associations/{uid}

Delete a trackable association.

Delete a trackable association with a specified association UID. To retrieve a trackable association UID, see get trackable associations.

A successful request returns a status of 204.

Trackable Sensor Config

Update sensor config for trackable object

PUT api/trackable_objects/{uid}/sensor_config

Request Fields

Field Required/Optional Type Description
sensors optional array Used for sensor interface configuration on the server. NOTE:Currently only UART is supported.
sensors[].type required string The type of sensor configuration. Available configuration:
  • UART_0
sensors[].reliable required boolean All sensor types may use a reliable delivery mechanism. The “Reliable” field is optional; if not present, the default value is false.
sensors[].enabled required boolean Used for enabling/disabling UART_0 sensor configuration:
  • true
  • false

Example Request

Using PUT api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_config:

{
    "sensors": [
        {"type": "UART_0", "enabled": true, "reliable": false}
    ]
}

Example Response

Response status 204

Errors

Error Status Error Type Error Body Error Description
404 NotFoundError { "message": "Trackable Object "${uid}" not found (updateSensorConfig).","name":"NotFoundError"} There is no trackable object with the specified UID.

Get sensor config for trackable object

Using GET api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_config

Example Response

{
    "sensors": [
        {"type": "UART_0", "enabled": true, "reliable": false}
    ]
}

Request sensor data for trackable object

Using POST api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_data/request

Example Request

Using POST api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_data/request:

{
    "sensors": [
        { "type": "UART_0" }
    ]
}

Example Response

Response status 204

Errors

Error Status Error Type Error Body Error Description
404 Forbidden { "message": "Trackable Object "${uid}" not found (sendSensorData).","name":"NotFoundError"} There is no trackable object with the specified UID.
404 Forbidden { "message": "Trackable Object "${uid}" has no device associated (sendSensorData).","name":"NotFoundError"} The trackable object does not have any tags associated with it.

Response on WS

After requesting data sensor will send data via websocket

{
    "jsonrpc": "2.0",
    "method": "notify",
    "params": {
        "subscription": "sensor",
        "data": {
            "object_uid": "T5mMnt6UTNqZsJJHKX-d4g",
            "seq_no": 3,
            "ts": 1524681070,
            "ms": 352,
            "sensor_data": {
                "sensors":[
                    {"type":"UART_0","data":{"raw":"556677"}}
                ],
                "mac_address":"aabbcc223344"
            }
        }
    }
}

Send sensor data for trackable object

Using POST api/trackable_objects/{uid}/sensor_data/send

Example Request

Using POST api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_data/send:

{
    "sensors": [
        { "type": "UART_0", "data": { "raw":  "FFDD023467396FDE"} }
    ]
}

Using POST api/trackable_objects/T5mMnt6UTNqZsJJHKX-d4g/sensor_data/send:

{
    "sensors": [
        { "type": "UART_0", "data": { "text":  "some text"} }
    ]
}

Example Response

Response status 204

Errors

Error Status Error Type Error Body Error Description
404 NotFoundError { "message": "Trackable Object "${uid}" not found (sendSensorData).","name":"NotFoundError"} There is no trackable object with the specified UID.
404 NotFoundError { "message": "Trackable Object "${uid}" has no device associated (sendSensorData).","name":"NotFoundError"} The trackable object does not have any tags associated with it.
404 NotFoundError { "message": "No sensors defined for Trackable Object "${uid}" in request (getSensorData).","name":"NotFoundError"} You must specify at least 1 sensor in request sensors[].

results matching ""

    No results matching ""