Get all time entries for a client
Includes time entries within the client account, cases, and tasks.
Headers
-
Content-Type string
-
Accept string
Query parameters
-
filter[trackable_type] string
Filter by a comma separated list of trackable types.
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
-
filter[accounts] string
Time entries owned by account UUIDs, comma separated list. Do not include if getting time entries for current user.
-
filter[start_date_after] string
Filter by time entries after a given start date.
-
filter[start_date_before] string
Filter by time entries before a given start date.
-
filter[end_date_after] string
Filter by time entries after a given end date.
-
filter[end_date_before] string
Filter by time entries before a given end date.
-
sort string
Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC. Defaults to '-end_date'.
-
per_page integer
Number of results to return with pagination (Default 15. Max 500).
GET /api/v1/client/{client_uuid}/all-time-entries
curl \
-X GET https://api.plannrcrm.com/api/v1/client/client_uuid/all-time-entries \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"data": [
{
"name": "Research",
"uuid": "e7f3f310-96e4-4f42-9beb-1098589d550d",
"end_date": "2024-11-20T13:24:00+00:00",
"is_active": "1",
"trackable": "Client",
"start_date": "2024-11-20T13:24:00+00:00"
}
]
}