v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Task Timer

Stop timer for a task

Stops the running timer for the given track ID

put/v1/time-track/{trackId}/stop

Path parameters

trackIdinteger required
Example:5

Timer Track ID to stop

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Request body

billingTypeboolean required

Whether the timer is billable.

notesstring

Optional notes about the timer.

Example request

{
  "billingType": true,
  "notes": "Worked on bug fixing."
}

Response

Timer stopped successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}