Updates a given project time booking.

PUT
Required Permissions: Any authenticated user.

Path parameters

timeBookingIdstringRequired
The id of the project time booking.

Request

This endpoint expects an object.
userIdstringOptional
The id of the user this project time booking is for.
projectIdstringOptional
The id of the project this project time booking is for.
startDatestringOptional
The start date of this project time booking.
endDatestringOptional
The end date and time of this project time booking.
durationintegerOptional
The duration (in seconds) of this project time booking.
descriptionstringOptional
The optional name/description for this time booking.
laneOrderintegerOptional
The order in which this object should be shown in the timeline (row number). This value is used by the awork web app.

Response

This endpoint returns an object
idstringOptional
createdOndatetimeOptional
createdBystringOptional
updatedOndatetimeOptional
updatedBystringOptional
userIdstringOptional
The id of the user this project time booking is for.
projectIdstringOptional
The id of the project this project time booking is for.
startDatestringOptional
The start date of the project time booking.
endDatestringOptional
The end date of the project time booking.
durationintegerOptional
The planned duration, expressed in seconds, of this project time booking.
descriptionstringOptional
The optional description for this project time booking.
laneOrderintegerOptional
The order in which this object should be shown in the timeline (row number). Used by the awork web app.
isAnonymizedbooleanOptional
This will be true if the user doesn't have access to the project. In that case the description will be shadowed.