Creates a new task schedule for a given task and a given user.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

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

Request

The model to create the task schedule.
taskIdstringOptionalformat: "uuid"
The id of the task this task schedule is for.
startDatedatetimeOptional
The start date and time of this task schedule.
endDatedatetimeOptional
The end date and time of this task schedule.
userIdstringOptionalformat: "uuid"
The id of the user this task schedule is for.

Response

OK
idstringformat: "uuid"
The id of the entity.
createdOndatetime
The date this entity was created.
createdBystringformat: "uuid"
The id of the user who created this entity.
updatedOndatetime
The date this entity was last modified.
updatedBystringformat: "uuid"
The id of the user who last modified this entity.
userIdstringformat: "uuid"
The id of the user this task schedule is for.
taskIdstringformat: "uuid"
The id of the task this task schedule is for.
startDatedatetime
The start date and time of this task schedule.
endDatedatetime
The end date and time of this task schedule.
plannedDurationinteger
The number of seconds of planned work.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error