PUT - Change Task status
Purpose
This API is used to change the status of a task to either In Progress or Completed.
Request URL
Group Task:
https://mail.zoho.com/api/tasks/groups/<GroupID>/<entityId>
Personal Task:
https://mail.zoho.com/api/tasks/me/<entityId>
Request Parameters
Parameter | Data Type | Description |
GroupID* | Long | The unique identifier used for groups in the organization |
entityId* | Long | The unique identifier assigned to each task |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
status* | String | inprogress; completed | The new status that you want to give the task |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
CopiedSample URL:
Group Task:
https://mail.zoho.com/api/tasks/groups/<53658048>/<48184000000091002>?
Personal Task:
https://mail.zoho.com/api/tasks/me/<48184000000091002>?
Sample Request Body:
{
"status": "completed"
}