Obsolete - initiateOutgoingClientCall
POST {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/initiateOutgoingClientCall?ContactEndpoint=102
!!Obsolete!!
Use the Make a call
function under Call management for an agent. /initiateOutgoingClientCall
is replaced by /call/make
OfficeTeam service informs the agent’s client to make a call to the Contact endpoint.
HTTP POST: /agents/{identificationType}/{identification}/initiateOutgoingClientCall?ContactEndpoint={contactEndpoint}
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 |
contactEndpoint | String | Phone number that the agent must call |
Example
https://192.168.1.10/mot/greenbox/agents/id/12/initiateOutgoingClientCall?ContactEndpoint=+4540509040 - Client where Agent with ID 12 is logged in, will call +4540509040
https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/initiateOutgoingClientCall?ContactEndpoint=+4540509040 - Client where Agent with email derek.a@company.local is logged in, will call +4540509040
https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/initiateOutgoingClientCall?ContactEndpoint=+4540509040 - Client where Agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e is logged in, will call +4540509040
Result
OfficeTeam service informs the agent’s client to make a call to the Contact endpoint. Note that the client does not need to be logged in as an agent in OfficeTeam.
- 200 OK - A request to call the contactEndpoint, is sent to the agent's client.
- 400 Bad Request - One or more parameters are not valid, or it is not possible to find correct data about the agent.
- 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.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ContactEndpoint | number | Phone number that the agent must call |