Updates a given time booking.
Required Permissions
Any authenticated user.Path parameters
timeBookingId
The id of the time booking.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
userId
The id of the user this time booking is for.
projectId
(optional) The id of the project this time booking is for.
startDate
The start date of this time booking.
endDate
The end date and time of this time booking.
duration
The duration (in seconds) of this time booking.
description
The optional name/description for this time booking.
laneOrder
The order in which this object should be shown in the timeline (row number). This value is used by the awork web app.
Response
OK
id
createdOn
createdBy
updatedOn
updatedBy
userId
The id of the user this time booking is for.
projectId
(optional) The id of the project this time booking is for.
startDate
The start date of the time booking.
endDate
The end date of the time booking.
duration
The planned duration, expressed in seconds, of this time booking.
description
The optional description for this time booking.
laneOrder
The order in which this object should be shown in the timeline (row number). Used by the awork web app.
isAnonymized
This will be true if the user doesn't have access to the project.
In that case the description will be shadowed.