Creates a new project time booking for a given project and user.

Required Permissions
Any authenticated user.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
userIdUUIDOptional

The id of the user this project time booking is for.

projectIdUUIDOptional

The id of the project this project time booking is for.

startDatedateOptional

The start date of this project time booking.

endDatedateOptional

The end date and time of this project time booking.

durationintegerOptional

The duration (in seconds) of this project time booking.

descriptionstring or nullOptional

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

OK

idUUIDOptional
createdOndatetimeOptional
createdByUUIDOptional
updatedOndatetimeOptional
updatedByUUIDOptional
userIdUUIDOptional

The id of the user this project time booking is for.

projectIdUUIDOptional

The id of the project this project time booking is for.

startDatedateOptional

The start date of the project time booking.

endDatedateOptional

The end date of the project time booking.

durationintegerOptional

The planned duration, expressed in seconds, of this project time booking.

descriptionstring or nullOptional

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.

isAnonymizedboolean or nullOptional

This will be true if the user doesn’t have access to the project. In that case the description will be shadowed.