Read task tracking
This API is designed to provide an overview of worker performance within a specific time. It enables monitoring of task completion rates, ongoing tasks, and travel metrics such as distance covered and time spent on tasks. The data is aggregated across all workers, with detailed statistics available for individual workers to facilitate in-depth analysis. The primary purpose is to track the number of tasks each worker has completed or is currently working on within the specified date. Additionally, it measures productivity by calculating the time spent on tasks and the distances traveled during task execution.
Authorizations
Use a valid Bearer token to authenticate.
Query Parameters
Optional filter to range data between one of the following options :
enum: createdTime,startTime,doneTime
Example: startTime
Used to set the start limit of the data range to retrieve based on timeBy with format (Y-m-d H:i:s)
Example: 2023-01-01 00:00:00
Used to set the end limit of the data range to retrieve based on timeBy with format (Y-m-d H:i:s)
Example: 2023-01-01 23:59:59
Source identifier for the location history entry. System-generated entries default to mileAppField, override this value when integrating a custom device or external source.
Example: GPS
Default: mileAppField
A Filter for show by specified email of user.
Example: example@mile.app
A flagging for calculating location history using the Snap-to-Route method. By default, the system uses the Flatten method for location history calculation.
Example: 1.
Default: null
Response
Success
Total task Done.
Total Task Ongoing.
Total Task ongoing and done.
Total summary of distance.
Total summary of duration.
Detail of object user summary
Array of string for describe location history created from.