Get Check-In Stream

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

This streaming API will cannot currently stream more than 1000 active check-in sessions according to the filter. If the filter returns more than 1000 results, the result set will exclude some items according to the sorting parameters. Items will be added or removed from the result set according sort order and limit as they are updated.

This check-in streaming API uses HTTP streaming to send any update to a check-in record (including but not limited to location, status and type), according to the filtering, limit and sort order parameters on the request.

The results are returned in atomic 'changeset' XML elements. Each changeset contains a single 'checkins' element, which can contain one or more 'checkin' elements, and each 'checkin' element contains one updated check-in record.

If the 'changeset' element contains the 'clear' property set to 'true', this means any state maintained on the client side (such as a list of checked-in users) should be reset/cleared prior to processing any of the 'checkin' elements in the changeset. If no client-side state is maintained, this property can be ignored.

If a 'checkin' element contains the 'remove' property set to 'true', this means that the check-in record has been set removed (checked-out) and updates will cease until the user checks in again.

'subtype' values:
manual - check-ins that are initiated manually by the user.
timed - check-ins that are initiated manually by the user with a timer.
auto - check-ins that are initiated automatically by a geofence crossing.

'status' values:
normal - the check-in is does not have a timer, or the timer has not yet expired.
escalated - the check-in timer has expired.

'sort_property' values:
in - sorts the check-ins by the time they were first checked-in.
updated - sorts the check-ins by the time they were last updated.
escalate - sorts the check-ins by the time their expiry time.
location - sorts the check-ins by their last location update time.

Path Params
string
required

The SafeZone id

Query Params
string

Streams check-ins of the specified type(s). Can be one or more of 'manual', 'auto', or 'timed'. Can be specified multiple times. When unset, streams check-ins with any type. See notes below for more information.

string

Streams check-ins with the specific status(es). Can be one or more of 'normal' or 'escalated'. Can be specified multiple times. When unset, streams check-ins with any status. See notes below for more information.

string

Streams check-ins for one specific user by their id. When unset, streams check-ins for any user. Cannot be used with the 'user_group' parameter.

string

Streams check-ins for one or more groups of users by their user group id(s). Can be specified multiple times. Cannot be used with the 'user' parameter. When unset, streams check-ins for any user group.

string

Streams check-ins for one or more regions by their region group id(s). Can be specified multiple times. Cannot be used with the 'region_group' parameter. When unset, streams check-ins for any region.

string

Streams check-ins for one or more regions groups by their region group id(s). Can be specified multiple times. Cannot be used with the 'region' parameter. When unset, streams check-ins for any region group.

string
Defaults to 1000

Limits the number of items streamed. For example, if there are 500 check-ins and the limit is set to 100, then 400 check-in sessions will not be streamed. If any of the streamed set checks-out, one will be added from the non-streamed set to maintain the limit. The minumum is 10 and the maximum is 1000. Defaults to 1000.

string
Defaults to in

Defines the property on which to sort check-ins in order to decide which check-ins are excluded from the result set if the result set size exceeds the the one defined by 'limit'. Can be one of 'in', 'updated', 'escalate', or 'location'. See notes below for more information. Defaults to 'in'.

string
Defaults to asc

Defines the sort direction for the property defined in 'sort_property'. Can be one of 'asc' or 'desc'. Defaults to 'asc'

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/xml