get https://api.gomotive.com/v1/time_tracking?timecard_entries
Purpose: Use this API to retrieve timecard details per day per driver, with the ability to apply filters. This endpoint enables organisations to extract details about each timecard, including start and end times, breaks, and other relevant details.
Response Parameters
timecard_entries
- Type: Array of Objects
- Description: List of timecard entries tracking time, location, job type, and user details.
date
- Type: String (Date)
- Description: The specific date for the timecard entry (e.g., "2023-07-17").
lat
- Type: Float
- Description: Latitude coordinate of the location where the timecard entry was recorded (e.g., 1.2).
lon
- Type: Float
- Description: Longitude coordinate of the location where the timecard entry was recorded (e.g., 1.2).
address
- Type: String
- Description: The address associated with the timecard entry (e.g., "address 1").
notes
- Type: String
- Description: Any notes related to the timecard entry (e.g., "notes 1").
job_type
- Type: Object
- Description: Information about the job type associated with the timecard entry.
id
- Type: Integer
- Description: Unique identifier for the job type (e.g., 1).
name
- Type: String
- Description: Name of the job type (e.g., "job1").
user
- Type: Object
- Description: Information about the user associated with the timecard entry.
id
- Type: Integer
- Description: Unique identifier for the user (e.g., 1033954).
first_name
- Type: String
- Description: The first name of the user (e.g., "Erik").
last_name
- Type: String
- Description: The last name of the user (e.g., "Mclaughlin").
username
- Type: String
- Description: The username associated with the user (e.g., "e.mclaughlin").
email
- Type: String
- Description: The email address of the user (e.g., "e.mclaughlin@keeptruckin.com").
time_zone
- Type: String
- Description: The time zone in which the timecard entry was recorded (e.g., "Pacific Time (US & Canada)").
duration
- Type: Integer (Minutes)
- Description: The duration of the timecard entry in minutes (e.g., 60).
start_time
- Type: String (Time)
- Description: The start time of the timecard entry (e.g., "13:51").
end_time
- Type: String (Time)
- Description: The end time of the timecard entry (e.g., "13:53").