Update a time entry
PUT
/tm/tasks/{task_id}/time-entries/{time_entry_id}Request
Path Params
task_id
string
required
time_entry_id
string
required
Body Params application/json
userId
string <uuid>
required
isOvertime
boolean
required
A flag indicating that the entry was overtime
date
string <date>
required
The day of entry. In Y-m-d
format
duration
integer
required
Time in minutes
> 1< 1440
Example
{
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"isOvertime": true,
"date": "2019-08-24",
"duration": 2
}
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
data
object (Time entry)
required
id
string <uuid>
required
userId
string <uuid>
required
type
enum<integer>
required
Allowed values:
12
isOvertime
boolean
required
A flag indicating that the entry was overtime
date
string <date>
required
The day of entry. In Y-m-d
format
duration
integer
required
Time in minutes, cannot exceed 1440
> 1< 1440
Example
Not configured
Last modified: 9 months ago