Switch between calls
PUT {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/call/alternate
Miralix OfficeTeam informs the agent’s client, to switch between the active call and the call on hold.
HTTP PUT: /agents/{identificationType}/{identification}/call/alternate
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 agent's email |
Example
https://192.168.1.10/mot/greenbox/agents/id/12/call/alternate - OfficeTeam service informs the agent with id 12, to switch between the active call and the call on hold. https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/call/alternate - OfficeTeam service informs the agent with email derek.a@company.local, to switch between the active call and the call on hold. https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/call/alternate - OfficeTeam service informs the agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e, to switch between the active call and the call on hold.
Result
Miralix OfficeTeam informs the agent’s client, to switch between the active call and the call on hold. * 200 OK - A request to switch between the active call and the call on hold, 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.