Make a call

POST {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/call/make?ContactEndpoint=784

OfficeTeam service informs the agent’s client to make a call to the Contact endpoint.
HTTP POST: /agents/{identificationType}/{identification}/call/make?ContactEndpoint={contactEndpoint}

ParameterValueDescription
identificationTypesipUri, id, email, syncIdDer kan benyttes flere forskellige identifikationstyper til at identificere en agent
identificationStringThe identification value must match the selected identification type. So, if identificationType is set to email, then the identification value must match an agents email
contactEndpointStringPhone number that the agent must call

Example

https://192.168.1.10/mot/greenbox/agents/id/12/call/make?ContactEndpoint=+4583509040 - Client where Agent with id 12 is logged in, will call +4583509040 https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/call/make?ContactEndpoint=+4583509040 - Client where Agent with email derek.a@company.local is logged in, will call +4583509040 https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/call/make?ContactEndpoint=+4583509040 - Client where Agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e is logged in, will call +4583509040

Result

OfficeTeam service informs the agent’s client to make a call to the Contact endpoint. Note that the client 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. * 404 Not Found - No agent was found with the specified identification. * 500 Internal Server Error - Internal processing error.

Request Params

KeyDatatypeRequiredDescription
ContactEndpointnumberPhone number that the agent must call