Get time entries

GET /api/v1/time-entry/{trackable_type}/{trackable_uuid}

Headers

Path parameters

Query parameters

  • Filter by a comma separated list of UUIDs.

  • Time entries owned by account UUIDs, comma separated list. Do not include if getting time entries for current user.

  • array Time entries started between the dates chosen, comma separated in format of Y-m-d.

  • 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).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/time-entry/{trackable_type}/{trackable_uuid}
curl \
 -X GET https://api.plannrcrm.com/api/v1/time-entry/trackable_type/trackable_uuid \
 -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": "ce319e77-7150-41a1-a85c-06a1102e301b",
      "end_date": "2024-11-20T13:24:02+00:00",
      "is_active": "1",
      "trackable": "Client",
      "start_date": "2024-11-20T13:24:02+00:00"
    }
  ]
}