Get all time entries for a client

GET /api/v1/client/{client_uuid}/all-time-entries

Includes time entries within the client account cases, and tasks.

Query parameters

Responses

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

      Additional properties are allowed.

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": "5165d43b-d48a-43d9-93f9-75ea4efd9865",
      "account": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "3c4250d0-dceb-4a85-b01e-fcb8d74cd186",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-01-17T11:18:29+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:29+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "end_date": "2025-01-17T10:56:29+00:00",
      "is_active": true,
      "trackable": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "b8c3a39c-0fa8-4369-983a-0b22c2ce09c4",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-01-17T11:18:29+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:29+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "created_at": "2025-01-17T11:18:29+00:00",
      "start_date": "2025-01-17T10:28:29+00:00",
      "updated_at": "2025-01-17T11:18:29+00:00",
      "description": "This is a description.",
      "trackable_type": "Client",
      "total_time_in_minutes": 28,
      "computed_time_elapsed_in_seconds": 1680
    }
  ]
}