Answer incoming call
PUT {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/call/answer
OfficeTeam service informs the agent’s client to answer the incoming call.
HTTP PUT: /agents/{identificationType}/{identification}/call/pickup
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/pickup - A request to pick up the call, is sent to the client, where agent with id 12 is logged in.
https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/call/pickup - A request to pick up the call, is sent to the client, where agent email derek.a@company.local is logged in.
https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/call/pickup - A request to pick up the call, is sent to the client, where agent syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e is logged in.
Result
OfficeTeam service informs the client to answer the current incoming call.
- 200 OK - A request to answer the call is sent to the agent's client.
- 400 Bad Request - One or more parameters are not valid.
- 403 Forbidden - Missing required License to access this request.
- 404 Not Found - No agent was found with the specified identification.
- 500 Internal Server Error - Internal processing error.