GET /agent_timestamps
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/agent_timestamps
List Agent Timestamp records.
Lists the statuses agents were in, each with its key, start, end, duration and the call and lead it was on, filtered by agent and by the window a status ran in (active_from and active_to). Pages in the order statuses were recorded. A team member who is not a superuser sees only their own. Statuses are kept for 2 months, and an unbillable status with no call is left out.
Params
| Param name | Description |
|---|---|
|
ids Optional |
Return records matching these ids.
|
|
collaborator_id Optional |
Agent
|
|
active_from Optional |
The start of a window, as an ISO 8601 time with its time zone. With active_to, lists every status that ran at some point in the window, including one that started before it.
|
|
active_to Optional |
The exclusive end of the window, as an ISO 8601 time with its time zone.
|
|
order Optional |
Sort results by this field.
|
|
page Optional |
Return the next page of results.
|
|
per_page Optional |
How many results to return per page. The default is 25.
|
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
fulltext Optional |
Search for any record that matches this text
|
|
time_zone Optional |
Date ranges will be parsed using this time zone.
|
|
columns Optional |
Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
Must be any combination of:
|
|
root Optional |
Pass
|