v1

latestOpenAPI 3.0.02026-08-061478520.6 KB
[v1] Entry

Create time entry

Create time entry.

post/entries

Request body

get_entries0 | 1

if true then this works like GET

datestring required

entry will be created on this date

startstring

entry start time, this has higher priority than start_time if provided both

start_timestring

entry start time

endstring

entry end time, this has higher priority than end_time if provided both

end_timestring

entry end time

durationinteger

duration in seconds, required if start and end are not given

task_idnumber

entry task

notestring

note for entry, same as description

descriptionstring

description for entry, same as note

billableboolean

is entry billable

Example request

{
  "date": "2021-03-02",
  "start": "2020-02-02 13:05:47",
  "start_time": "2020-02-02 13:05:47",
  "end": "2020-02-02 15:21:31",
  "end_time": "2020-02-02 15:21:31",
  "duration": 7200,
  "task_id": 1523,
  "billable": true
}

Response

OK

entry_idnumber required