Call Recordings for Agent

GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/recordings?fromQueueCallId={{QueueCallId}}

Get a list detailing all the recorded calls that have been handled by a specific agent.

HTTP GET: /agents/{identificationType}/{identification}/recordings?fromQueueCallId={queueCallId}

ParameterValueDescription
identificationTypesipUri, id, email, syncIdDifferent identification types, that can be used to identify an agent
identificationStringThe 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
queueCallId{Integer}Retrieve all information on call recordings after the specified queueCallId (not including)

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/id/103/recordings?fromQueueCallId=54852 - Lists recorded calls for agent with id 103, after the recording with queueCallId 54852
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.
  • 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.

JSON result

For each recording, the following data is displayed:

ParameterValueDescription
QueueId{Integer}Queue's ID in the database
QueueName{String}Name of the queue
QueueCallId{Integer}ID of the call in the database
QueueCallTypeQueueCall, CallbackCallCall type for the call
Culture{String: ISO Language Code}Specifies which language to associate with the task. E.g., da-DK. If nothing is specified, the default language is used for the OfficeTeam configuration.
ConversationStartedUtc{date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'}Time of start of the call
ConversationEndedUtc{date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'}Time of ending the call
AgentName{String}The name of the agent
AgentId{Integer}Agents ID in the database
RecordingFileName{String}File name of the recorded call
Caller{String}The normalized caller number

Request Params

KeyDatatypeRequiredDescription
fromQueueCallIdstringOnly retrieve information for recordings after the specified queueCallId (not including)

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"}]