Create new task

Create new task

Defaults values
  • status: 1

  • progress: 0

  • startDate: first working hour of current day

  • duration: 1 working day

  • priority: 3

  • color: 1

  • type: "task"

  • estimation: 0

Dates
  • If you don't pass a startDate, endDate and duration - startDate will be set as default, duration will be set as default, endDate will be calculated based on duration;

  • If you only pass a startDate (without endDate and duration) - duration will be set as default, endDate will be calculated based on duration;

  • If you only pass a duration (without startDate and endDate) - startDate will be set as default, endDate will be calculated based on duration;

  • If you pass a startDate and endDate (without duration) - duration will be automatically calculated;

  • If you pass a startDate and duration (without endDate) - endDate will be automatically calculated;

  • If you pass endDate and duration (without startDate) - startDate will be set as default, duration and endDate will be calculated;

  • If you pass startDate, endDate and duration - endDate will be ignored and automatically re-calculated based on duration;

Language
Authorization
Header
Click Try It! to start a request and see the response here!