API CHANGES

All API changes by release version:

2021.2

/api/nodes Nodes API

Response Fields

Field Action Methods Description
hw_info.ver Deprecated
  • POST
  • PUT
  • GET
The hardware version. It will be available for 6 months minimum(until May 2022). Please, use hw_info.cbid instead.
hw_info.rev Deprecated
  • POST
  • PUT
  • GET
The hardware revision. It will be available for 6 months minimum(until May 2022). Please, use hw_info.cbid instead.

/api/ws/ zone_event channel

Added new ws channel zone_event.

/api/ws/ pos channel

Response Fields

Field Action Methods Description
id Deprecated
  • notify
The ID of the device. Use mac instead. It will be available for 6 months minimum(until May 2022).
sl Deprecated
  • notify
The MAC address of the device. Use sl_id instead. It will be available for 6 months minimum(until May 2022).
locationId Deprecated
  • notify
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
  • notify
The type identifier of reporting device type. It will be available for 6 months minimum(until May 2022).
er Deprecated
  • notify
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
  • notify
The sequence number for the device. It will be available for 6 months minimum(until May 2022).
slvr_mode Deprecated
  • notify
The PE solver mode used to compute the position. It will be available for 6 months minimum(until May 2022).
pe_dim Deprecated
  • notify
The PE mode in 2D or 3D. It will be available for 6 months minimum(until May 2022).
inactive Deprecated
  • notify
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
  • notify
Indicates that an edge correction was applied. It will be available for 6 months minimum(until May 2022).

/api/ws/ alarm channel

Response Fields

Field Action Methods Description
x Added
  • notify
The X - coordinate of the trackable position when it triggered an alarm.
y Added
  • notify
The Y - coordinate of the trackable position when it triggered an alarm.
z Added
  • notify
The Z - coordinate of the trackable position when it triggered an alarm.
sublocation_uid Added
  • notify
The unique identifier of the area.
ts Added
  • notify
The timestamp part of alarm when it triggered, in seconds.
ms Added
  • notify
The timestamp part of alarm when it triggered, in milliseconds.
timestamp Removed
  • notify
Not in use.
status Deprecated
  • notify
The current state of the alarm. The field is announced deprecated. It will be available for 6 months minimum(until May 2022).
state Added
  • notify
The current state of the alarm.

/api/sublocations Sublocations API

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

/api/zones Zones API

Request Fields

Field Action Methods Description
user_params Extended
  • POST
  • PUT
Zone prototype options that is required for zones "stop_no_alert", "slow_zone", "custom_zone", "mute_zone" that is added from add-ons

/api/alarms Alarms API

Request Fields

Field Action Methods Description
alarm_name Extended
  • POST
Added new alarm type name uncertified_operation.
additional_info Extended
  • POST
Extended for new alarm type uncertified_operation.

Response Fields

Field Action Methods Description
alarm_name Extended
  • GET
  • POST
Added new alarm type name uncertified_operation.
alarm_type_id Extended
  • GET
Added new alarm type id 10 - uncertified_operation.
additional_info Extended
  • GET
  • POST
Extended for new alarm type uncertified_operation.

/api/wsc Vehicle certification

Added new endpoint for the vehicle certification management. Becomes available after installation rtls-addon-vehicle-certification package

/api/groups Group API

Response Fields

Field Action Methods Description
user_params.groupParams Removed
  • POST
  • PUT
  • GET
Reserved field.

Request Fields

Field Action Methods Description
user_params.groupParams Removed
  • POST
  • PUT
  • GET
Reserved field.

/api/nodes Nodes API

Response Fields

Field Action Methods Description
announce.last_ts Added
  • POST
  • PUT
  • GET
The UTC time stamp of the time when the node was last announced to the server, in milliseconds.

/api/near_miss Near Miss Events API

Request Fields

Field Action Methods Description
project_uid Deprecated
  • POST
Duplicates the X-User-Project header

Error

Action Method Error Status Error Body Description
Added
  • POST
403 {"message":"The sublocation "..." for project "..." not found", "name":"ForbiddenError"} The sublocation uid does not match any sublocation in the specified project.
Added
  • GET
404 {"message":"Report "..." not found", "name":"NotFoundError"} The report with the specified uid not found.

/api/external_events Event History API

Request Fields

Field Action Methods Description
uploadedFrom Added
  • GET
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
  • GET
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

/api/trackable_objects Trackable Object API

Request Fields

Field Action Methods Description
category
tag_config.stationary
tag_config.t2t_cfg.role
changed compatibility rules
  • POST
  • PUT
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'
  • POST
  • PUT
See "PWS configuration" for the list of mandatory fields.

/api/zones Zone API

Request Fields

Field Action Methods Description
zone_points_attributes Deprecated
  • POST
  • PUT
Use zone_geometry instead

Response Fields

Field Action Methods Description
zone_points_attributes Deprecated
  • GET
  • POST
  • PUT
Use zone_geometry instead

/api/groups Group API

Response Fields

Field Action Methods Description
tag_config Deprecated
  • POST
  • PUT
  • GET
Object with trackable specific configuration. Deprecated and will be removed in 2021Q1.

Request Fields

Field Action Methods Description
tag_config Deprecated
  • POST
  • PUT
Object with trackable specific configuration. Deprecated and will be removed in 2021Q1.

/api/zone_events Zone Events API

Request Fields

Field Action Methods Description
zone_type_name Added
  • GET
The system name of the zone type. See Zones API document.

/api/near_miss/{uid} Near Miss Events API

Response Fields

Field Action Methods Description
events.trackables.driver_uid Added
  • GET
The unique identifier of a driver. When there is no driver the value is equal to null.
trackableObjects.role Removed
  • GET
The low latency link role:
  • disabled
  • monitor
  • announcer
trackableObjects.category Added The trackable`s category:
  • VEHICLE
  • PERSON

2020.3

Changes have been made to the following APIs:

/api/locations Locations API

Request Fields

Field Action Methods Description
shift.expected Removed
  • PUT
The number of expected workers for a shift.
shift.active Added
  • PUT
The flag which is indicates the shift activity.
shift.expected_others Added
  • PUT
The number of expected trackables for a shift.
shift.expected_vehicles Added
  • PUT
The number of expected vehicles for a shift.
shift.expected_person Added
  • PUT
The number of expected workers for a shift.

Response Fields

Field Action Methods Description
shift.expected Removed
  • POST
  • PUT
  • GET
The number of expected workers for a shift.
shift.active Added
  • POST
  • PUT
  • GET
The flag which is indicates the shift activity.
shift.expected_others Added
  • POST
  • PUT
  • GET
The number of expected trackables for a shift.
shift.expected_vehicles Added
  • POST
  • PUT
  • GET
The number of expected vehicles for a shift.
shift.expected_person Added
  • POST
  • PUT
  • GET
The number of expected workers for a shift.

/api/alarms Alarms API

Request Fields

Field Action Methods Description
sublocation_uid Added
  • GET
  • PUT
  • POST
The area unique identifier.
location_uid Added
  • GET
The site unique identifier.
format Added
  • GET
The request output format: csv, json.
obj_uid Added
  • GET
The unique identifier of the trackable that triggered the alarm.
alarm_type_name Added
  • GET
The list of alarm type names:
  • zone_violation
  • buffer_violation
  • emergency_button
  • pws_safety

Response Fields

Field Action Methods Description
sublocation_uid Added
  • PUT
  • POST
  • GET
The area unique identifier.
uid Removed
  • GET
Removed from the csv output in historical requests.

/api/report Report API

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".

/api/trackable_objects Trackable Object API

Request Fields

Field Action Methods Description
pos_report_frequency Deprecated
  • PUT
  • POST
Will be removed in 2021Q1. Use position_update_interval instead.

Response Fields

Field Action Methods Description
pos_report_frequency Deprecated
  • PUT
  • POST
  • GET
Will be removed in 2021Q1. Use position_update_interval instead.

2020.2

Changes have been made to the following APIs:

/api/zones Zones API

Response Fields

Field Action Methods Description
trackables_in_zone Added
  • GET
  • PUT
Array of trackables that are currently in zone.
trackables_in_zone.uid Added
  • GET
  • PUT
An unique id of trackable.
trackables_in_zone.entered Added
  • GET
  • PUT
Object.
trackables_in_zone.entered.time Added
  • GET
  • PUT
The time when trackable entered zone.
trackables_in_zone.entered.x Added
  • GET
  • PUT
Coordinate X where trackable entered zone.
trackables_in_zone.entered.y Added
  • GET
  • PUT
Coordinate Y where trackable entered zone.
trackables_in_zone.entered.z Added
  • GET
  • PUT
Coordinate Z where trackable entered zone.

Added event history Endpoints /api/external_events Event History API

Action Method Endpoint
Added
  • GET
/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}

/api/trackable_objects Trackables API

Request Fields

Field Action Methods Description
category Added
  • PUT
  • POST
Trackable object category:
  • PERSON
  • VEHICLE
  • UNSPECIFIED
  • ASSET

Response Fields

Field Action Methods Description
category Added
  • PUT
  • GET
  • POST
Trackable object category.
paired Added
  • GET
Trackable VDA paired object. If no VDA paired=null. Readonly.
node.idle Added
  • PUT
  • GET
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

api/positions_history Positions History

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

/api/zone_events Zone Events

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
  • POST
423 {"message": "The user is disabled "} The user was disabled.

/api/auth/validate_token Auth

Error

Action Method Error Status Error Body Description
Removed
  • POST
403 {"success":false,"error":"Unable to authenticate admin@example.com"}
Added
  • POST
401 {"success":false,"error":"Unable to authenticate"} Appears when invalid token was sent.
Added
  • POST
423 {"message": "The user is disabled "} The user was disabled.

/api/auth/refresh_token Auth

Error

Action Method Error Status Error Body Description
Removed
  • POST
403 {"success":false,"error":"Unable to authenticate admin@example.com"}
Added
  • POST
401 {"success":false,"error":"Token expired"} Appears when invalid token was sent.

/api/locations Locations

Request Fields

Field Action Methods Description
shift Added
  • PUT
The list of shift plans for a site. Could be empty.
shift.start Added
  • PUT
The start time of the shift, cron string.
shift.end Added
  • PUT
The end time of the shift, cron string.
shift.expected Added
  • PUT
The number of expected workers for a shift.
shift.name Added
  • PUT
The name of a shift.

Response Fields

Field Action Methods Description
shift Added
  • POST
  • PUT
  • GET
The list of shift plans for a site. Could be empty.
shift.start Added
  • POST
  • PUT
  • GET
The start time of the shift, cron string.
shift.end Added
  • POST
  • PUT
  • GET
The end time of the shift, cron string.
shift.expected Added
  • POST
  • PUT
  • GET
The number of expected workers for a shift.
shift.name Added
  • POST
  • PUT
  • GET
The name of a shift.

2020.1

Changes have been made to the following APIs:

/api/projects Projects API

Request Fields

Field Action Methods Description
project.user_params.timezone Update
  • POST
Become required

Added near miss Endpoints /api/near_miss Near Miss Events API

Action Method Endpoint
Added
  • GET
api/near_miss
Added
  • GET
api/near_miss/:uid
Added
  • GET
api/near_miss/status/:uid

Add new report type: Activity Statistics Travel Distance By Trackable report Reports API

Add trackable associations history GET Trackable Object API

Action Method Endpoint
Added
  • GET
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:

/api/zones Zones API

Request Fields

Field Action Methods Description
custom_info Added
  • POST
  • PUT
Optionally, enter up to 128 characters of custom information for the trackable.

Response Fields

Field Action Methods Description
custom_info Added
  • GET
  • POST
  • PUT
Information entered in the custom_info field of the request will display in this field.

/api/trackable_objects Trackables API

Request Fields

Field Action Methods Description
custom_info Update
  • POST
  • PUT
Limit size 128 characters.

Response Fields

Field Action Methods Description
custom_info Update
  • POST
  • PUT
Limit size 128 characters.

Remove Message API Endpoints from public documentation

Action Method Endpoint
Removed
  • GET
  • PUT
  • POST
api/messages

/api/groups Groups API

Request Fields

Field Action Methods Description
custom_info Added
  • POST
  • PUT
Optionally, enter up to 128 characters of custom information for the trackable.
color Added
  • POST
  • PUT
The group color in format (#ffffff).
user_params Deprecated
  • POST
  • PUT
The user-defined parameters for the group.

Response Fields

Field Action Methods Description
custom_info Added
  • GET
  • POST
  • PUT
Information entered in the custom_info field of the request will display in this field.
color Added
  • GET
  • POST
  • PUT
The group color in format (#ffffff).
user_params Deprecated
  • GET
  • POST
  • PUT
The user-defined parameters for the group.

2019.2

Changes have been made to the following APIs:

/api/reports Reports API

Request Fields

Field Action Methods Description
trackable_uids Added
  • POST
The unique identifier of the filtered trackable objects (All report types).
group_uids Added
  • POST
The unique identifier of the groups (All report types).
location_uids Added
  • POST
The unique identifier of the sites (All report types).
sublocation_uids Added
  • POST
The unique identifier of the areas (All report types).
zone_uids Added
  • POST
The unique identifier of the zones (zone_activity_report report type).
zone_types Added
  • POST
The types of zones:
  • keep_in
  • keep_out
  • information
(safety_report report type).
alarm_types Added
  • POST
The types of alarms:
  • zone_violation
  • emergency_button
  • buffer_violation
(safety_report report type).
severity_levels Added
  • POST
Severity level which is specified for report generation:
  • 1
  • 2
  • 3
  • 4
  • 5
(safety_report report type).

Response Fields

Field Action Methods Description
input.trackable_uids Added
  • POST
  • GET
The unique identifier of the filtered trackable objects (All report types).
input.group_uids Added
  • POST
  • GET
The unique identifier of the groups (All report types).
input.location_uids Added
  • POST
  • GET
The unique identifier of the sites (All report types).
input.sublocation_uids Added
  • POST
  • GET
The unique identifier of the areas (All report types).
input.zone_uids Added
  • POST
  • GET
The unique identifier of the zones (zone_activity_report report type).
input.zone_types Added
  • POST
  • GET
The types of zones
  • keep_in
  • keep_out
  • information
(safety_report report type).
input.alarm_types Added
  • POST
  • GET
The types of alarms
  • zone_violation
  • emergency_button
  • buffer_violation
(safety_report report type).
input.severity_levels Added
  • POST
  • GET
Severity level which is specified for report generation:
  • 1
  • 2
  • 3
  • 4
  • 5
(safety_report report type).

/api/trackable_objects Trackables API

Request Fields

Field Action Methods Description
tag_config.t2t_no_alarm Removed
  • POST
  • PUT
Array of exceptions for t2t_cfg alarm. Available only for low latency link configuration role of Monitor.
t2t_no_alarm_uid Added
  • POST
  • PUT
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
  • POST
  • PUT
Optionally, enter up to 128 characters of custom information for the trackable.
Response Fields
Field Action Methods Description
t2t_no_alarm_uid Added
  • GET
  • POST
  • PUT
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
  • GET
  • POST
  • PUT
Information entered in the custom_info field of the request will display in this field.

/api/location_service_coverage Location service coverages API

Added location service coverage Endpoints

Action Method Endpoint
Added
  • GET
api/location_service_coverage
Added
  • GET
api/location_service_coverage/sublocation/:sublocation_uid
Added
  • GET
api/location_service_coverage/{uid}

/api/nodes Node API

Response Fields

Field Action Methods Description
node_id Added
  • GET
  • POST
  • PUT
Unique node ID for SiteWise server.

results matching ""

    No results matching ""