POST/projects/api/v3/calendars/events/task-from-event.json

Create a task from a calendar event.

Creates a new task based on a calendar event, linking all related events (sharing the same iCalUID) to the task and removing the event from unavailable time planning calculations.

Request (application/json): payloadcalendarevent.TaskFromEventRequest

Responses

  • Code
    201
    Type
    object
    Schema
    Description
    201 Created
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse defines how []Error should be marshaled to JSON.
  • Code
    403
    Type
    object
    Schema
    Description
    403 Forbidden
    ErrorResponse defines how []Error should be marshaled to JSON.
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
    ErrorResponse defines how []Error should be marshaled to JSON.

Examples

201 Created

taskFromEventResponse
{
  "taskId": 0
}