Update call
PATCH {{baseUrl}}/v1/calls/:call_id
This API updates the details of a call.
OAuth Scope
Desk.activities.calls.UPDATE
Desk.activities.UPDATE
Desk.calls.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
customFields | <list> | User-defined fields related to the call |
cf | <list> | User-defined fields related to the call |
departmentId | <long> | ID of the department associated with the call and ticket |
subject | <string> max chars : 300 | Subject of the call |
startTime | <timestamp> | Time when the call started. The value of this key must be recorded in theĀ ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ. |
direction | <string> max chars : 100 | Direction of the call: inbound or outbound |
duration | <integer> | Duration of the call in seconds |
status | <string> max chars : 120 | Completion status of the call |
ownerId | <long> | ID of the user to whom the call is assigned |
priority | <string> max chars : 120 | Priority of the call |
description | <string> max chars : 65535 | Description of the call |
ticketId | <long> | ID of the ticket associated with the call |
contactId | <long> | ID of the contact associated with the call |
reminder | <JSONArray> | Details of the reminder associated with the call |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2016-07-14T08:29:26.000Z","cf":{},"contactId":"30000000088017","subject":"New Testing Call","completedTime":"2016-07-14T08:29:26.000Z","departmentId":"3000000007043","creatorId":"3000000008692","description":"Call completed with a callback request","ownerId":null,"priority":"High","duration":"120","webUrl":"https://desk.zoho.com/support/zylker/ShowHomePage.do#Calls/dv/51123033fe97b2f886f750280ded9c40","createdTime":"2016-07-14T08:27:26.000Z","modifiedBy":{"firstName":"George","lastName":"McKinson","photoURL":null,"id":"5000000015911"},"id":"3000000054002","isSpam":false,"ticketId":"3000000008753","direction":"inbound","status":"completed"}