- Related Products
- Log360
- AD360
- ADManager Plus
- ADAudit Plus
- ADSelfService Plus
- Exchange Reporter Plus
Click here to expand
The API allows you to update an incident's status or severity based on the ticket's status or severity.
| Header name | Value | Mandatory | Description |
| Authorization | Bearer {{AuthToken}} | Yes | AuthToken generated from the API Settings page.
e.g., Bearer abcd1234xyz |
The request body must be sent in JSON format and include the following key/value parameters:
| Parameter Name | Mandatory | Type | Description |
| ticket_id | Yes | String | ID of the ticket to update the status/severity for. |
| changelog | Yes | JSONObject | A JSONObject containing the ticket's updated filed STATUS (or) SEVERITY and its updated value. |
| field | Yes | String | Field of ticket that was updated. |
| value | Yes | String | New value of the ticket field which was updated. |
The response will be a JSON object with the following key/value pair:
| Parameter name | Description |
| message | Result of the update incident request. |
curl --location 'http://localhost:8400/RestAPI/v1/ticket/incident/update' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer abcd1234xyz' \
--data '{
"ticket_id": "33630",
"changelog": {
"field": "STATUS",
"value": "Pending"
}
}'
{"message":"Incident updated successfully"}
Copyright © 2020, ZOHO Corp. All Rights Reserved.