Overview of all tasks

GET {{httptype}}://{{IP}}/mot/{{miralixAccount}}/tasks

Get a list of all tasks in OfficeTeam, both those in a queue and those being processed by an agent
HTTP GET: /tasks

Example

https://192.168.1.10/mot/greenbox/tasks

Result

  • 200 OK - List of all tasks that are either queued or being processed by an agent.
  • 403 Forbidden - Missing required License to access this request.
  • 500 Internal Server Error - Internal processing error.

JSON result

For each task, the following results are displayed:

ParameterValueDescription
TaskId{String}A unique ID for the task
Subject{String}Title for the task
Text{String}Detailed description of the task
StateInQueue, OfferedToAgentState of the task
EntryMenuId{Integer}ID for entry menu linked to a task created via an external source
EntryMenuParameters{String}The entry menu parameters that are linked to a task created via an external source.
The parameters are Comma-separated and replace parameters (like <@CrmId@> and <@SubTaskId@>) 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{Integer}ID for the task in the queue
FirstQueueName{String}Queue name of the first queue to which the task was added
FirstQueueId{Integer}ID on the first queue to which the task was added
CurrentQueueName{String}Queue name of the queue that the task is attached to now
CurrentQueueId{Integer}ID on the queue that the task is associated with now
AgentName{String}The name of the agent if the task is offered to an agent
AgentId{Integer}ID of the agent if the task is offered to an agent
ExternalSourcenull, WebApi, AzureServiceBusWhich external source is used to create the task.
AddedToQueue{date-time: yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'}Time the call arrived in the queued
(Note! – This is not UTC time)

HEADERS

KeyDatatypeRequiredDescription
``null

RESPONSES

status: OK

[{&quot;TaskId&quot;:&quot;QA3D-2332-QAS&quot;,&quot;Subject&quot;:&quot;Task No. 4&quot;,&quot;Text&quot;:&quot;Help the customer with a little of this and that! https://www.google.com/search?q=QA3D-2332-QAS or call +45 83848586&quot;,&quot;State&quot;:&quot;InQueue&quot;,&quot;EntryMenuId&quot;:105,&quot;EntryMenuParameters&quot;:&quot;CrmId=191597,SubTaskId=654&quot;,&quot;Culture&quot;:&quot;da-DK&quot;,&quot;Tags&quot;:&quot;Error message,Sales&quot;,&quot;QueueInquiryId&quot;:1116,&quot;FirstQueueName&quot;:&quot;Task Queue 1&quot;,&quot;FirstQueueId&quot;:2083,&quot;CurrentQueueName&quot;:&quot;Task Queue 1&quot;,&quot;CurrentQueueId&quot;:2083,&quot;AgentName&quot;:&quot;Lucas Peterson&quot;,&quot;AgentId&quot;:8,&quot;ExternalSource&quot;:&quot;WebApi&quot;,&quot;AddedToQueue&quot;:&quot;2022-12-22T05:55:52.3448532+01:00&quot;},{&quot;TaskId&quot;:&quot;QA3D-2333-QAS&quot;,&quot;Subject&quot;:&quot;Task No. 5&quot;,&quot;Text&quot;:&quot;Help the customer with a little of this and that! https://www.google.com/search?q=QA3D-2333-QAS or call +45 83848586&quot;,&quot;State&quot;:&quot;InQueue&quot;,&quot;EntryMenuId&quot;:null,&quot;EntryMenuParameters&quot;:null,&quot;Culture&quot;:&quot;da-DK&quot;,&quot;Tags&quot;:&quot;Test&quot;,&quot;QueueInquiryId&quot;:1117,&quot;FirstQueueName&quot;:&quot;Task Queue 1&quot;,&quot;FirstQueueId&quot;:2083,&quot;CurrentQueueName&quot;:&quot;Task Queue 1&quot;,&quot;CurrentQueueId&quot;:2083,&quot;AgentName&quot;:null,&quot;AgentId&quot;:null,&quot;ExternalSource&quot;:&quot;WebApi&quot;,&quot;AddedToQueue&quot;:&quot;2022-12-22T05:55:54.6205604+01:00&quot;}]