Creates a new time booking for a given project and user.
Required Permissions
Any authenticated user.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The model to create the time booking.
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
The id of the entity.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
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.

