Disconnect current call
PUT {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/call/clear
OfficeTeam service informs the agent’s client to disconnect the current active call.
HTTP PUT: /agents/{identificationType}/{identification}/call/clear
Parameter | Value | Description |
---|---|---|
identificationType | sipUri, id, email, syncId | Different identification types, that can be used to identify an agent |
identification | String | The identification value must match the selected identification type. So, if identificationType is set to email, then the identification value must match an agents email |
Example
https://192.168.1.10/mot/greenbox/agents/id/12/call/clear - OfficeTeam service informs the agent with id 12, to disconnect the current active call. https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/call/clear - OfficeTeam service informs the agent with email derek.a@company.local, disconnect the current active call. https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/call/clear - OfficeTeam service informs the agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e, disconnect the current active call.
Result
OfficeTeam service informs the agent’s client to disconnect the current active call.
* 200 OK - A request to disconnect the current active call is sent to the agent's client.
* 400 Bad Request - One or more parameters are not valid.
* 404 Not Found - No agent was found with the specified identification.
* 500 Internal Server Error - Internal processing error.