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_id
SalaryBox ID of the staff member.
date
Day the tracking request was created, YYYY-MM-DD, in your company’s time zone.
page
Page number, starting at 1.
page_size
Results per page. Default and maximum 500.
Response
Recorded positions, oldest first.
data
message
status
count
Total number of results across all pages.
prev
URL of the previous page, or null.
next
URL of the next page, or null.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
