List Times
Request URL
Query parameters
startDate
Format ‘yyyy-mm-dd’.
e.g. ‘2015-01-31’ means midnight Jan 31, 2015 at your local timezone. Inclusive.
endDate
Format ‘yyyy-mm-dd’.
e.g. ‘2015-12-31’. Inclusive.
minLastUpdated
Format ‘yyyy-mm-dd’.
The date when the record was modified or created.Inclusive.
maxLastUpdated
Format ‘yyyy-mm-dd’.
The date when the record was modified or created. Inclusive.
userEmail
Email address of a particular user to search for.
status
Approved = A
Unsubmitted = U
Pay Scheduled = P
Submitted = S
Rejected = R
Note
You need to provide at least one of the query parameters in the request.
The returned data in the response is in UTC time zone as in the JSON standard.
e.g:
{
"message": "OK",
"time": {
"id": 1,
"url": "https:www.triplog.com/web/api/time/1",
"lastUpdated": "2023-05-06T06:56:23.543Z",
"user": {
"id": 1,
"url": "https:www.triplog.com/web/api/users/1",
"email": "[email protected]",
"display": "bo, wang"
},
"startTime": "2023-05-01T15:30:00.000Z",
"endTime": "2023-05-01T19:00:00.000Z",
"hours": 3,
"minutes": 30,
"jobActivity": "xxx",
"location": {
"id": 9,
"url": "https:www.triplog.com/web/api/locations/9",
"lastUpdated": "2023-04-28T08:04:30.150Z",
"display": "xxx",
"name": null,
"address": "xxx"
},
"tags": "tag-test01",
"notes": "TimeEntry test",
"status": "Not Submitted",
"statusUpdateTime": null,
"statusUpdatedBy": null,
"receipts": "https:www.triplog.com/web/api/time/1/receipts"
}
}
Example