Remove/Update Secondary contact from Incident via API call
Summary
Remove/Update Secondary contact from Incident via API callContent
Hi everyone,
We have a need to remove/update secondary contact from incident via API. I am using Postman.
I found a way to add secondary contact to incident:
Endpoint: https://<your_site>.services/rest/connect/v1.4/incidents/<incident_id>/otherContacts/
HTTP Method: PATCH
Header: OSvC-CREST-Application-Context: 123
JSON Payload:
{
"id": 12345 -> (contacts id)
}
In other words API call should simulate 'Remove' action under Secondary Contacts tab ( screen shot attached)
Would really appreciate if anyone could provide solution to remove and update secondary contact from incident via API.
Thanks in advance,
Tagged:
0