Call Recordings for Agent

GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/recordings

Get a list detailing all the recorded calls that have been handled by a specific agent.
HTTP GET: /agents/{identificationType}/{identification}/recordings

ParameterValueDescription
identificationTypesipUri, id, email, syncIdDifferent identification types, that can be used to identify an agent
identificationStringVærdien skal passe til den valgte identifikationstype

Example

https://192.168.1.10/mot/greenbox/agents/id/103/recordings - Lists recorded calls for agent with id 103 https://192.168.1.10/mot/greenbox/agents/email/derek.a@company.local/recordings - Lists recorded calls for agent with email derek.a@company.local https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/recordings - Lists recorded calls for agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e

Resultat

  • 200 OK - A list detailing all the recorded calls for the specified agent.
  • 404 Not Found - No agent was found with the specified identification.
  • 500 Internal Server Error - Internal processing error.

JSON result

For each recording, the following data is displayed:

ParameterValueDescription
QueueCallId{Integer}Queue call ID (QueueCallId) in Miralix Office Team
ConversationStartedUtc{date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'}Day and time at the start of the call
ConversationEndedUtc{date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'}Day and time at the end of the call
AgentName{String}Agents full name
AgentId{Integer}Agents ID in the database
RecordingFileName{String}File name of the recording
Caller{String}The normalized number of the caller (A number)

RESPONSES

status: OK

[{"QueueCallId":47610,"ConversationStartedUtc":"2020-10-22T10:29:53.1696606Z","ConversationEndedUtc":"2020-10-22T10:30:00.2458428Z","AgentName":"Claus Clausen","AgentId":1,"RecordingFileName":"fef55002-637f-4c3c-b1fb-8ac1c9c81b90.mp3","Caller":"+4583123456"},{"QueueCallId":47611,"ConversationStartedUtc":"2020-10-23T07:06:21.0090962Z","ConversationEndedUtc":"2020-10-23T07:06:24.4242813Z","AgentName":"Claus Clausen","AgentId":1,"RecordingFileName":"27a4f95f-cc25-432b-904b-7e4d9342e519.mp3","Caller":"+4583123456"}]