Create approval
POST {{baseUrl}}/api/v1/tickets/:ticket_id/approvals
This API creates an approval in your help desk.
OAuth Scope
Desk.tickets.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
approverIds (required) | <list> | IDs of users to whom the approval must be submitted |
subject (required) | <string> max chars : 1000 | Subject of the approval |
status | <string> max chars : 100 | Status of the approval |
description | <String> | Description of the approval |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"approvals":[{"approver":{"firstName":"saran","lastName":"raj","photoUrl":"https://desk.zoho.com/api/v1/agent/4000000015001/photo","id":"4000000015001","email":null},"requester":{"firstName":"aravind","lastName":"a","photoUrl":"https://desk.zoho.com/api/v1/agent/4000000012629/photo","id":"4000000012629","email":null},"requestedTime":"2016-06-21T13:16:14.000Z","subject":"Testing","description":"testing","id":"1892000001054081","status":"PENDING","processedTime":null}]}