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.
startDatestringOptionalformat: "date-time"
The start date and time of this task schedule.
endDatestringOptionalformat: "date-time"
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.
createdOnstringformat: "date-time"
The date this entity was created.
createdBystringformat: "uuid"
The id of the user who created this entity.
updatedOnstringformat: "date-time"
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.
startDatestringformat: "date-time"
The start date and time of this task schedule.
endDatestringformat: "date-time"
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