Tasks API

Task CRUD operations API - Add task

OVERVIEW

Use this method to create a new task

Request URI

POST     /tasks?tasklistid={tasklistid}

Request parameters

Parameter Value Description
tasklistid integer The ID of the task list. The tasklistid can be obtained by calling the get all task lists 

Request body

A task object should be sent in the request body. 

Response 

The response will be a 200 OK http response with the ID of the task. If the response is not successful an error object will be returned with the information of the failure. 

 

Response body

 

     <task>

          <taskid></taskid>

     </task>


Notes

When adding a task if no tasklist is provided, the system will create a personal task. 

 

Comments


0 Comments

Last Updated: Nov 08,2024