Stop a time entry

POST /api/v1/time-entry/{timeEntry_uuid}/stop

Headers

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
POST /api/v1/time-entry/{timeEntry_uuid}/stop
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/time-entry/timeEntry_uuid/stop' \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json"
Response examples (200)
{
  "name": "Research",
  "uuid": "2a51cfa4-9224-4c2d-ad9d-cc249e0222b1",
  "account": {
    "name": "Gareth Thompson",
    "role": "client",
    "type": "client",
    "uuid": "11ac99c2-22b7-444b-b17a-d39e0f39765d",
    "email": "gareth@codepotato.co.uk",
    "last_name": "Thompson",
    "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
    "created_at": "2025-05-14T18:27:14+01:00",
    "first_name": "Gareth",
    "updated_at": "2025-05-14T18:27:14+01:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
  },
  "end_date": "2025-05-14T18:05:14+01:00",
  "is_active": true,
  "trackable": {
    "name": "Gareth Thompson",
    "role": "client",
    "type": "client",
    "uuid": "02fd366f-5e39-43f0-9cfd-f69c53df6fed",
    "email": "gareth@codepotato.co.uk",
    "last_name": "Thompson",
    "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
    "created_at": "2025-05-14T18:27:14+01:00",
    "first_name": "Gareth",
    "updated_at": "2025-05-14T18:27:14+01:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
  },
  "created_at": "2025-05-14T18:27:14+01:00",
  "start_date": "2025-05-14T17:37:14+01:00",
  "updated_at": "2025-05-14T18:27:14+01:00",
  "description": "This is a description.",
  "trackable_type": "Client",
  "total_time_in_minutes": 28,
  "computed_time_elapsed_in_seconds": 1680
}