Information on current offered/answered queue call for a specific agent
GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/agents/{{identificationType}}/{{TypeID}}/busycall
Information on the queue call that is currently being offered or has been answered by a specific agent.
HTTP GET: /agents/{identificationType}/{identification}/busycall
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/8/busycall - Currently offered/answered queue call for the agent with ID 8 https://192.168.1.10/mot/greenbox/agents/email/lucas.p@company.local/busycall - Currently offered/answered queue call for the agent with email address of lucas.p@company.local https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/busycall - Currently offered/answered queue call for the agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e
Result
Information for the current offered queue that the agent is offered is received. If the agent is not currently offered or is on an active queue call, an HTTP 200 OK response is sent, with empty content. If the agent is not logged in, an HTTP 404 Not Found response is sent.
- 200 OK - Information for the current offered/answered queue that the agent. Empty content if the agent is not currently offered or on a queue call.
- 400 Bad Request - One or more parameters are not valid, or it is not possible to find correct data about the Agent.
- 404 Not Found - The agent is not logged in or does not exist.
- 500 Internal Server Error - Internal processing error.
JSON result
Parameter | Value | Description |
---|---|---|
AgentId | {Integer} | Agent's ID in the database |
AgentName | {String} | Agent's full name |
AgentEmail | {String} | Agent's E-mail |
AgentSipUri | {String} | Agent's SIP URI |
AgentSyncId | {String} | Agent's Sync ID (UUID), if imported via Miralix DataImport |
QueueId | {Integer} | Call offered/answered from this Queue ID |
QueueName | {String} | Call offered/answered from this Queue name |
QueueType | Distribution, Pickup | Agent sees this Queue as this type |
QueueBehaviorType | Normal, CampOnBusy, Parking, Personal | Agent sees this Queue behavior as this type |
QueueCallId | {Integer} | Queue call ID (QueueCallId) in Miralix Office Team |
QueueCallType | QueueCall, CallbackCall | Queue call type |
Language | {String: ISO Language Code} | The language to which the call is linked in Miralix Office Team |
CallCenterTimeUtc | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | Current time on the server (UTC) |
ReceivedQueueUtc | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | The time the call arrived in the queue (UTC). |
LeftQueuUtc | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | The time the call left the queue (UTC). 0001-01-01T00:00:00 if the call has not been answered. |
WaitingQueueTime | {TimeStamp: d.HH:mm:ss.SSSSSSS} | Waiting time in the queue |
Called | {String} | The called number |
Calling | {String} | The number of the caller |
Transferred | {String} | The number of the person who transferred the call |
OriginalCalling | {String} | The number of the person who originally called (A number) |
QueueContentType | {String} | Queue content type |
TaskSubject | {String} | Task Subject |
RESPONSES
status: OK
"{\n \"AgentId\": 8,\n \"AgentName\": \"Lucas Peterson\",\n\t\"AgentEmail\": \"lucas.p@company.local\",\n\t\"AgentSipUri\": \"sip:lucas.p@company.local\",\n\t\"AgentSyncId\": \"f4fd9e5f-017d-4350-adf8-8dd811bc1a2e\",\n \"QueueId\": 199,\n \"QueueName\": \"Parallax Corporation\",\n \"QueueType\": \"Distribution\", // Distribution, Pickup\n \"QueueBehaviorType\": \"Normal\", // Normal, CampOnBusy, Parking, Personal\n \"QueueCallId\": 14766,\n \"QueueCallType\": \"QueueCall\", // QueueCall, CallbackCall\n \"Language\": \"da-DK\",\n \"CallCenterTimeUtc\": \"2019-07-10T13:12:40.9503652Z\",\n \"ReceivedQueueUtc\": \"2019-07-10T13:19:21.3145492Z\",\n \"LeftQueueUtc\": \"2019-07-10T13:19:25.8934172Z\",\n \"WaitingQueueTime\": \"00:00:04.5788680\",\n \"Called\": \"435\",\n \"Calling\": \"687\",\n \"Transferred\": \"\",\n \"OriginalCalling\": \"687\",\n \"QueueContentType\": \"Audio\",\n \"TaskSubject\": \"\"\n}"