We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Remove/Update Secondary contact from Incident via API call

Received Response
20
Views
5
Comments
edited Mar 22, 2021 9:22AM in Agent Desktop 5 comments

Summary

Remove/Update Secondary contact from Incident via API call

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!