Update approval
PATCH {{baseUrl}}/api/v1/tickets/:ticket_id/approvals/{approval_id}
This API updates the details of an existing ticket approval.
OAuth Scope
Desk.tickets.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
approverIds | <list> | IDs of users to whom the approval must be submitted |
subject | <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
{"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},"requesterId":"1892000000042001","requestedTime":"2016-06-21T13:16:14.000Z","approverId":"1892000000042001","subject":"Testing","description":"testing","id":"1892000001054081","status":"Approved","processedTime":"2018-02-07T10:12:35.000Z"}