API CHANGES
All API changes by release version:
2021.2
Response Fields
| Field |
Action |
Methods |
Description |
| hw_info.ver |
Deprecated |
|
The hardware version. It will be available for 6 months minimum(until May 2022). Please, use hw_info.cbid instead. |
| hw_info.rev |
Deprecated |
|
The hardware revision. It will be available for 6 months minimum(until May 2022). Please, use hw_info.cbid instead. |
Added new ws channel zone_event.
Response Fields
| Field |
Action |
Methods |
Description |
| id |
Deprecated |
|
The ID of the device. Use mac instead. It will be available for 6 months minimum(until May 2022). |
| sl |
Deprecated |
|
The MAC address of the device. Use sl_id instead. It will be available for 6 months minimum(until May 2022). |
| locationId |
Deprecated |
|
The identifier of the site in the context of the database. It will be available for 6 months minimum(until May 2022). |
| to_type_id |
Deprecated |
|
The type identifier of reporting device type. It will be available for 6 months minimum(until May 2022). |
| er |
Deprecated |
|
0D mode - distance to 0D anchor in millimeters 1D mode – distance to the line connecting anchor pair(millimeters) Note: Only available in 0D and 1D modes. It will be available for 6 months minimum(until May 2022). |
| sfsn |
Deprecated |
|
The sequence number for the device. It will be available for 6 months minimum(until May 2022). |
| slvr_mode |
Deprecated |
|
The PE solver mode used to compute the position. It will be available for 6 months minimum(until May 2022). |
| pe_dim |
Deprecated |
|
The PE mode in 2D or 3D. It will be available for 6 months minimum(until May 2022). |
| inactive |
Deprecated |
|
The flag that indicated the tag mode: false - tag is moving, true - tag is not moving. It will be available for 6 months minimum(until May 2022). |
| edge_corr |
Deprecated |
|
Indicates that an edge correction was applied. It will be available for 6 months minimum(until May 2022). |
Response Fields
| Field |
Action |
Methods |
Description |
| x |
Added |
|
The X - coordinate of the trackable position when it triggered an alarm. |
| y |
Added |
|
The Y - coordinate of the trackable position when it triggered an alarm. |
| z |
Added |
|
The Z - coordinate of the trackable position when it triggered an alarm. |
| sublocation_uid |
Added |
|
The unique identifier of the area. |
| ts |
Added |
|
The timestamp part of alarm when it triggered, in seconds. |
| ms |
Added |
|
The timestamp part of alarm when it triggered, in milliseconds. |
| timestamp |
Removed |
|
Not in use. |
| status |
Deprecated |
|
The current state of the alarm. The field is announced deprecated. It will be available for 6 months minimum(until May 2022). |
| state |
Added |
|
The current state of the alarm. |
Request Fields
| Field |
Required/Optional |
Type |
Description |
| name |
optional |
string |
The name of the area. |
| location_uid |
optional |
string |
The unique identifier of the site parent for the area. To retrieve a site UID, use GET api/locations described in Locations API. |
2021.1
Request Fields
| Field |
Action |
Methods |
Description |
| user_params |
Extended |
|
Zone prototype options that is required for zones "stop_no_alert", "slow_zone", "custom_zone", "mute_zone" that is added from add-ons |
Request Fields
| Field |
Action |
Methods |
Description |
| alarm_name |
Extended |
|
Added new alarm type name uncertified_operation. |
| additional_info |
Extended |
|
Extended for new alarm type uncertified_operation. |
Response Fields
| Field |
Action |
Methods |
Description |
| alarm_name |
Extended |
|
Added new alarm type name uncertified_operation. |
| alarm_type_id |
Extended |
|
Added new alarm type id 10 - uncertified_operation. |
| additional_info |
Extended |
|
Extended for new alarm type uncertified_operation. |
Added new endpoint for the vehicle certification management. Becomes available after installation rtls-addon-vehicle-certification package
Response Fields
| Field |
Action |
Methods |
Description |
| user_params.groupParams |
Removed |
|
Reserved field. |
Request Fields
| Field |
Action |
Methods |
Description |
| user_params.groupParams |
Removed |
|
Reserved field. |
Response Fields
| Field |
Action |
Methods |
Description |
| announce.last_ts |
Added |
|
The UTC time stamp of the time when the node was last announced to the server, in milliseconds. |
Request Fields
| Field |
Action |
Methods |
Description |
| project_uid |
Deprecated |
|
Duplicates the X-User-Project header |
Error
| Action |
Method |
Error Status |
Error Body |
Description |
| Added |
|
403 |
{"message":"The sublocation "..." for project "..." not found", "name":"ForbiddenError"} |
The sublocation uid does not match any sublocation in the specified project. |
| Added |
|
404 |
{"message":"Report "..." not found", "name":"NotFoundError"} |
The report with the specified uid not found. |
Request Fields
| Field |
Action |
Methods |
Description |
| uploadedFrom |
Added |
|
The time stamp that marks the beginning of the time frame of the event uploading from the tag to the server. Timestamp is in ISO 8601 format. |
| uploadedTo |
Added |
|
The time stamp that marks the end of the time frame of the event uploading from the tag to the server. Timestamp is in ISO 8601 format. |
2020.3 update 1
Request Fields
| Field |
Action |
Methods |
Description |
category tag_config.stationary tag_config.t2t_cfg.role |
changed compatibility rules |
|
See "Compatibility Rules for Category, Role and Stationary". |
tag_config.t2t_cfg.alarm_back tag_config.t2t_cfg.safe_distance tag_config.t2t_cfg.distance tag_config.t2t_cfg.alert_distance tag_config.t2t_cfg.pin tag_config.t2t_cfg.delay tag_config.t2t_cfg.angle |
changed 'optional' to 'required' |
|
See "PWS configuration" for the list of mandatory fields. |
Request Fields
| Field |
Action |
Methods |
Description |
| zone_points_attributes |
Deprecated |
|
Use zone_geometry instead |
Response Fields
| Field |
Action |
Methods |
Description |
| zone_points_attributes |
Deprecated |
|
Use zone_geometry instead |
Response Fields
| Field |
Action |
Methods |
Description |
| tag_config |
Deprecated |
|
Object with trackable specific configuration. Deprecated and will be removed in 2021Q1. |
Request Fields
| Field |
Action |
Methods |
Description |
| tag_config |
Deprecated |
|
Object with trackable specific configuration. Deprecated and will be removed in 2021Q1. |
Request Fields
| Field |
Action |
Methods |
Description |
| zone_type_name |
Added |
|
The system name of the zone type. See Zones API document. |
Response Fields
| Field |
Action |
Methods |
Description |
| events.trackables.driver_uid |
Added |
|
The unique identifier of a driver. When there is no driver the value is equal to null. |
| trackableObjects.role |
Removed |
|
The low latency link role: |
| trackableObjects.category |
Added |
The trackable`s category: |
2020.3
Changes have been made to the following APIs:
Request Fields
| Field |
Action |
Methods |
Description |
| shift.expected |
Removed |
|
The number of expected workers for a shift. |
| shift.active |
Added |
|
The flag which is indicates the shift activity. |
| shift.expected_others |
Added |
|
The number of expected trackables for a shift. |
| shift.expected_vehicles |
Added |
|
The number of expected vehicles for a shift. |
| shift.expected_person |
Added |
|
The number of expected workers for a shift. |
Response Fields
| Field |
Action |
Methods |
Description |
| shift.expected |
Removed |
|
The number of expected workers for a shift. |
| shift.active |
Added |
|
The flag which is indicates the shift activity. |
| shift.expected_others |
Added |
|
The number of expected trackables for a shift. |
| shift.expected_vehicles |
Added |
|
The number of expected vehicles for a shift. |
| shift.expected_person |
Added |
|
The number of expected workers for a shift. |
Request Fields
| Field |
Action |
Methods |
Description |
| sublocation_uid |
Added |
|
The area unique identifier. |
| location_uid |
Added |
|
The site unique identifier. |
| format |
Added |
|
The request output format: csv, json. |
| obj_uid |
Added |
|
The unique identifier of the trackable that triggered the alarm. |
| alarm_type_name |
Added |
|
The list of alarm type names:- zone_violation
- buffer_violation
- emergency_button
- pws_safety
|
Response Fields
| Field |
Action |
Methods |
Description |
| sublocation_uid |
Added |
|
The area unique identifier. |
| uid |
Removed |
|
Removed from the csv output in historical requests. |
Removed create report API: POST api/report/
Added Get reports list API: GET api/report?site_uid={uid}&from={iso_date}&to={iso_date}&type={report_type}
Removed report types: "daily", "safety_report", "trackable_distance_report", "idle_time_report".
Added report types: "attendance_report", "alarms_report", "distance_report".
Request Fields
| Field |
Action |
Methods |
Description |
| pos_report_frequency |
Deprecated |
|
Will be removed in 2021Q1. Use position_update_interval instead. |
Response Fields
| Field |
Action |
Methods |
Description |
| pos_report_frequency |
Deprecated |
|
Will be removed in 2021Q1. Use position_update_interval instead. |
2020.2
Changes have been made to the following APIs:
Response Fields
| Field |
Action |
Methods |
Description |
| trackables_in_zone |
Added |
|
Array of trackables that are currently in zone. |
| trackables_in_zone.uid |
Added |
|
An unique id of trackable. |
| trackables_in_zone.entered |
Added |
|
Object. |
| trackables_in_zone.entered.time |
Added |
|
The time when trackable entered zone. |
| trackables_in_zone.entered.x |
Added |
|
Coordinate X where trackable entered zone. |
| trackables_in_zone.entered.y |
Added |
|
Coordinate Y where trackable entered zone. |
| trackables_in_zone.entered.z |
Added |
|
Coordinate Z where trackable entered zone. |
Added event history Endpoints /api/external_events Event History API
| Action |
Method |
Endpoint |
| Added |
|
/api/external_events?from={ISO_8601_timestamp}&to={ISO_8601_timestamp}&event_type[]=pws&track_uid[]={uid}&format={json,csv}&archive={boolean}&limit={number}&page={number} |
Request Fields
| Field |
Action |
Methods |
Description |
| category |
Added |
|
Trackable object category:- PERSON
- VEHICLE
- UNSPECIFIED
- ASSET
|
Response Fields
| Field |
Action |
Methods |
Description |
| category |
Added |
|
Trackable object category. |
| paired |
Added |
|
Trackable VDA paired object. If no VDA paired=null. Readonly. |
| node.idle |
Added |
|
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: |
The maximum number of positions in 1 response will be limited, up to 10000 positions.
The client will get the requested page with positions, and the 'content-next-positions-page' that contains the number of the next page.
E.g. content-next-positions-page: 1 in the header response means that the next page is 1, etc.
To request the next page, you must specify the page # in the request:
/api/positions_history&page=1,2...n until the user gets 0 in response headers.
Request Fields
| Field |
Action |
Methods |
Description |
| project_uid |
Removed |
- |
Removed due to duplication in headers |
| page |
Added |
- |
Due to using the pagination request schema |
Response Fields
| Field |
Action |
Methods |
Description |
| type |
Removed |
- |
Due to useless |
| ts |
Changed |
- |
Using the ISO 8601:2004 format |
| ms |
Removed |
- |
Removed due to using the ts in ISO format |
Response Fields
| Field |
Action |
Methods |
Description |
| user_data |
Removed |
- |
- |
| related_event |
Removed |
- |
- |
| uid |
Removed |
- |
- |
| id |
Removed |
- |
/api/auth/log_in Auth
Error
| Action |
Method |
Error Status |
Error Body |
Description |
| Added |
|
423 |
{"message": "The user is disabled "} |
The user was disabled. |
/api/auth/validate_token Auth
Error
| Action |
Method |
Error Status |
Error Body |
Description |
| Removed |
|
403 |
{"success":false,"error":"Unable to authenticate admin@example.com"} |
|
| Added |
|
401 |
{"success":false,"error":"Unable to authenticate"} |
Appears when invalid token was sent. |
| Added |
|
423 |
{"message": "The user is disabled "} |
The user was disabled. |
/api/auth/refresh_token Auth
Error
| Action |
Method |
Error Status |
Error Body |
Description |
| Removed |
|
403 |
{"success":false,"error":"Unable to authenticate admin@example.com"} |
|
| Added |
|
401 |
{"success":false,"error":"Token expired"} |
Appears when invalid token was sent. |
Request Fields
| Field |
Action |
Methods |
Description |
| shift |
Added |
|
The list of shift plans for a site. Could be empty. |
| shift.start |
Added |
|
The start time of the shift, cron string. |
| shift.end |
Added |
|
The end time of the shift, cron string. |
| shift.expected |
Added |
|
The number of expected workers for a shift. |
| shift.name |
Added |
|
The name of a shift. |
Response Fields
| Field |
Action |
Methods |
Description |
| shift |
Added |
|
The list of shift plans for a site. Could be empty. |
| shift.start |
Added |
|
The start time of the shift, cron string. |
| shift.end |
Added |
|
The end time of the shift, cron string. |
| shift.expected |
Added |
|
The number of expected workers for a shift. |
| shift.name |
Added |
|
The name of a shift. |
2020.1
Changes have been made to the following APIs:
Request Fields
| Field |
Action |
Methods |
Description |
| project.user_params.timezone |
Update |
|
Become required |
Added near miss Endpoints /api/near_miss Near Miss Events API
| Action |
Method |
Endpoint |
| Added |
|
api/near_miss |
| Added |
|
api/near_miss/:uid |
| Added |
|
api/near_miss/status/:uid |
Add new report type: Activity Statistics Travel Distance By Trackable report Reports API
| Action |
Method |
Endpoint |
| Added |
|
api/trackable_objects_associations?start={timestamp in seconds}&end={timestamp in seconds}&obj_uid={uid} |
2019.3
Changes have been made to the following APIs:
Request Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Added |
|
Optionally, enter up to 128 characters of custom information for the trackable. |
Response Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Added |
|
Information entered in the custom_info field of the request will display in this field. |
Request Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Update |
|
Limit size 128 characters. |
Response Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Update |
|
Limit size 128 characters. |
Remove Message API Endpoints from public documentation
| Action |
Method |
Endpoint |
| Removed |
|
api/messages |
Request Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Added |
|
Optionally, enter up to 128 characters of custom information for the trackable. |
| color |
Added |
|
The group color in format (#ffffff). |
| user_params |
Deprecated |
|
The user-defined parameters for the group. |
Response Fields
| Field |
Action |
Methods |
Description |
| custom_info |
Added |
|
Information entered in the custom_info field of the request will display in this field. |
| color |
Added |
|
The group color in format (#ffffff). |
| user_params |
Deprecated |
|
The user-defined parameters for the group. |
2019.2
Changes have been made to the following APIs:
Request Fields
| Field |
Action |
Methods |
Description |
| trackable_uids |
Added |
|
The unique identifier of the filtered trackable objects (All report types). |
| group_uids |
Added |
|
The unique identifier of the groups (All report types). |
| location_uids |
Added |
|
The unique identifier of the sites (All report types). |
| sublocation_uids |
Added |
|
The unique identifier of the areas (All report types). |
| zone_uids |
Added |
|
The unique identifier of the zones (zone_activity_report report type). |
| zone_types |
Added |
|
The types of zones: - keep_in
- keep_out
- information
(safety_report report type). |
| alarm_types |
Added |
|
The types of alarms: - zone_violation
- emergency_button
- buffer_violation
(safety_report report type). |
| severity_levels |
Added |
|
Severity level which is specified for report generation: (safety_report report type). |
Response Fields
| Field |
Action |
Methods |
Description |
| input.trackable_uids |
Added |
|
The unique identifier of the filtered trackable objects (All report types). |
| input.group_uids |
Added |
|
The unique identifier of the groups (All report types). |
| input.location_uids |
Added |
|
The unique identifier of the sites (All report types). |
| input.sublocation_uids |
Added |
|
The unique identifier of the areas (All report types). |
| input.zone_uids |
Added |
|
The unique identifier of the zones (zone_activity_report report type). |
| input.zone_types |
Added |
|
The types of zones - keep_in
- keep_out
- information
(safety_report report type). |
| input.alarm_types |
Added |
|
The types of alarms - zone_violation
- emergency_button
- buffer_violation
(safety_report report type). |
| input.severity_levels |
Added |
|
Severity level which is specified for report generation: (safety_report report type). |
Request Fields
| Field |
Action |
Methods |
Description |
| tag_config.t2t_no_alarm |
Removed |
|
Array of exceptions for t2t_cfg alarm. Available only for low latency link configuration role of Monitor. |
| t2t_no_alarm_uid |
Added |
|
The unique ID of announcer's trackable object that is configured as "no alarm" for the low latency link configuration role of Monitor. |
| custom_info |
Added |
|
Optionally, enter up to 128 characters of custom information for the trackable. |
Response Fields
| Field |
Action |
Methods |
Description |
| t2t_no_alarm_uid |
Added |
|
The unique ID of the announcer's trackable object that is configured as "no alarm" for the low latency link configuration role of Monitor. |
| custom_info |
Added |
|
Information entered in the custom_info field of the request will display in this field. |
Added location service coverage Endpoints
| Action |
Method |
Endpoint |
| Added |
|
api/location_service_coverage |
| Added |
|
api/location_service_coverage/sublocation/:sublocation_uid |
| Added |
|
api/location_service_coverage/{uid} |
Response Fields
| Field |
Action |
Methods |
Description |
| node_id |
Added |
|
Unique node ID for SiteWise server. |