Skip to navigation

List Staff Location History

Returns every position recorded for one staff member in the tracking sessions requested on a date, oldest first. Use it to draw the route they travelled. Requires the Location Tracking add-on. Inactive staff can be queried.

date is the day the tracking request was created, in your company’s time zone, not the date of each position. Positions from all requests created that day are returned together. using_fake_gps is true when the phone reported a mock-location app.

Errors

  • 404 "Employee not found": no such staff member, or they were deleted.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

salarybox_idstringRequired
SalaryBox ID of the staff member.
datedateRequired

Day the tracking request was created, YYYY-MM-DD, in your company’s time zone.

pageintegerOptional
Page number, starting at 1.
page_sizeintegerOptional
Results per page. Default and maximum 500.

Response

Recorded positions, oldest first.
datalist of objects
messagestringOptional
statusbooleanOptional
countintegerOptional
Total number of results across all pages.
prevstring or nullOptional
URL of the previous page, or null.
nextstring or nullOptional
URL of the next page, or null.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error