v1

latestOpenAPI 3.0.02026-08-066924329.8 KB
Time Entries

Update Time Entry

Update Time Entry

patch/timeEntries/{id}

Path parameters

idstring required

Request body

user_idstring

If set to null the user behind the token will be used.

client_idstring nullable
project_idstring nullable
service_idstring nullable
descriptionstring nullable
started_atstring date-time
ended_atstring date-time nullable
ext_tool_idstring nullable
temp_idstring nullable
billed_atstring date-time nullable
billableboolean nullable
is_interruptboolean nullable

Example request

{
  "user_id": "01J43R8NX9F3WMMFQ294H2Q4ED",
  "client_id": "01J43T7CVPGPJ34P3963YZV3S1",
  "project_id": "01jd9kk3es6s9amhn8smf6dsj6",
  "description": "Completed new deployment process.",
  "started_at": "Thu, 01 Aug 2024 06:25:00 GMT",
  "ended_at": "Thu, 01 Aug 2024 08:22:00 GMT",
  "billable": true
}

Response

Time Entry updated successfully

successboolean

Example response

{
  "data": {
    "id": "01J43T7CVPGPJ34P3963YZV3S6",
    "user_id": "01J43R8NX9F3WMMFQ294H2Q4ED",
    "client_id": "01J43T7CVPGPJ34P3963YZV3S1",
    "project_id": "01jd9kk3es6s9amhn8smf6dsj6",
    "description": "Completed new deployment process",
    "billable": true,
    "started_at": "2021-01-01T00:00:00.000000Z",
    "created_at": "2021-01-01T00:00:00.000000Z",
    "updated_at": "2021-01-01T00:00:00.000000Z",
    "push_errors": []
  }
}