Information on current active queues for a specific agent

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

Returns an overview of all queues the selected agent is active in, based on the role that is active.

HTTP GET: /agents/{identificationType}/{identification}/queues

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

Example

https://192.168.1.10/mot/greenbox/agents/id/8/queues - Information on active queues for the agent with ID 8
https://192.168.1.10/mot/greenbox/agents/email/lucas.p@company.local/queues - Information on active queues for the agent with email address of lucas.p@company.local
https://192.168.1.10/mot/greenbox/agents/sipUri/sip:lp1@company.local/queues - Information on active queues for the agent with sip URI sip:lp1@company.local
https://192.168.1.10/mot/greenbox/agents/syncId/f4fd9e5f-017d-4350-adf8-8dd811bc1a2e/queues - Information on active queues for the agent with syncId f4fd9e5f-017d-4350-adf8-8dd811bc1a2e

Result

Information on active queues for a specific agent that is logged in to Miralix OfficeTeam.

  • 200 OK - Information on active queues for the specific agent
  • 400 Bad Request - One or more parameters are not valid
  • 404 Not Found - The agent is not logged in or does not exist
  • 500 Internal Server Error - Internal processing error

JSON result

For each active queues for the specific agent, the following is shown.

ParameterValueDescription
Id{Integer}Queue's ID in the database
Name{String}Name of the queue
Skill{Integer}Skill assigned to the Agent for this queue
SpectatortrueThis is only shown if the Agent is Spectator of this queue

RESPONSES

status: OK

[{"Id":19,"Name":"Miralix Queue 1","Skill":7},{"Id":2086,"Name":"Camp On Busy","Skill":1},{"Id":16,"Name":"Miralix Queue 2","Skill":8}]