Overview of all queue calls in a specific queue
GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/queues/{{callsQueueId}}/calls
Get a list of all current queue calls in a specific queue.
HTTP GET: /queues/{queueId}/calls
Parameter | Value | Description |
---|---|---|
queueId | Integer | ID for a queue |
Example
https://192.168.1.10/mot/greenbox/queues/12/calls - Get a list of all current queue calls in the queue with ID 12.
Result
- 200 OK - Overview of all queue calls in a specific queue.
- 403 Forbidden - Missing required License to access this request.
- 404 Not Found - The queue could not be found.
- 500 Internal Server Error - Internal processing error.
JSON result
For each call, the following data is displayed:
Parameter | Value | Description |
---|---|---|
QueueCallType | Queuecall, CallbackCall | Call type on the call |
Calling | {String} | The number of the caller |
Called | {String} | The called number |
OutboundCampaignName | {String} | Campaign name on outbound calls |
OutboundCampaignId | {Integer} | ID on outbound call campaign |
CallbackNumber | {String} | The number to call to perform callback |
WaitingUntil | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSZ} | Callback is delayed until this time |
EntryMenuId | {Integer} | ID for entry menu linked to callback calls created via an external source. |
EntryMenuParameters | {String} | The entry menu parameters that are linked to callback calls created via an external source. The parameters are Comma-separated and replace parameters (like <@CrmId@> and <@CostumerNo@>) specified in the entry menu URL or specified in the Arguments for a process. |
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. |
Tags | {String} | Comma-separated list of words describing the task. E.g. Tags=Error message,Sales |
QueueInquiryId | {String} | Queue inquiry ID (Same as QueueCallId) in Miralix Office Team |
FirstQueueName | {String} | The name of the first queue that the call has been in |
FirstQueueId | {Integer} | ID on the first queue that the call has been in |
CurrentQueueName | {String} | The name of the queue that the call is in now |
CurrentQueueId | {Integer} | ID on the queue that the call is in now |
AgentName | {String} | The name of the agent who is offered the call |
AgentId | {Integer} | ID of agent offered the call |
ExternalSource | null, WebApi, AzureServiceBus | Which external source is used to create the call. |
AddedToQueue | {date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'} | Time the call arrived in the queue (Note! – This is not UTC time) |
RESPONSES
status: OK
[{"QueueCallType":"CallbackCall","Calling":null,"Called":null,"OutboundCampaignName":"Wintersales","OutboundCampaignId":3321,"CallbackNumber":"+4523452526","WaitingUntil":"0001-01-01T00:00:00","EntryMenuId":109,"EntryMenuParameters":"CrmId=221020,CostumerNo=2365","Culture":"da-DK","Tags":"Error message,Sales","QueueInquiryId":47821,"FirstQueueName":"Salg East","FirstQueueId":153,"CurrentQueueName":"Salg West","CurrentQueueId":154,"AgentName":null,"AgentId":null,"ExternalSource":"WebApi","AddedToQueue":"2020-12-14T10:34:13.8435371+01:00"},{"QueueCallType":"QueueCall","Calling":"+4523232323","Called":"+4578787878","OutboundCampaignName":null,"OutboundCampaignId":null,"CallbackNumber":null,"WaitingUntil":"0001-01-01T00:00:00","EntryMenuId":null,"EntryMenuParameters":null,"Culture":"da-DK","Tags":null,"QueueInquiryId":47823,"FirstQueueName":"Salg West","FirstQueueId":154,"CurrentQueueName":"Salg West","CurrentQueueId":154,"AgentName":null,"AgentId":null,"ExternalSource":null,"AddedToQueue":"2020-12-14T11:37:10.8886481+01:00"}]