Afslut igangværende opkald
PUT {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/call/clear
Miralix OfficeTeam sender besked til klienten om at afslutte igangværende opkald.
HTTP PUT: /agents/{identificationType}/{identification}/call/clear
Parameter | Værdi | Beskrivelse |
---|---|---|
identificationType | sipUri, id, email, syncId | Der kan benyttes flere forskellige identifikationstyper til at identificere en agent |
identification | String | Værdien skal passe til den valgte identifikationstype |
Eksempel
http://192.168.1.10/mot/greenbox/agents/id/12/call/clear http://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/call/clear http://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/call/clear
Resultat
Miralix OfficeTeam sender besked til klienten om at afslutte det igangværende opkald.
* 200 OK - Data er blevet sendt til klienten.
* 400 Bad Request - En eller flere parametre er ikke gyldig.
* 404 Not Found - Agenten blev ikke fundet.
* 500 Internal Server Error - Intern fejl ved behandling.