get https://api.motioncxapps.com/reporting/api/v1/lookup/workstates
This call shows all queues in the system from the Reporting API.
- A workstate is the user's current state and what activities the user can currently engage in.
- Authentication required, please visit this page for Authentication How To.
Parameters
- There are no Parameters in this request.
Responses available
- 200
- 401
- 403
Example return:
{
"resultCode": 0,
"resultCodeName": "Success",
"data": [
{
"id": 4,
"name": "ACW",
"description": "",
"color": "#ffb822",
"productive": true,
"isHiddenForAgent": true,
"isDefault": true,
"isDeleted": false
},
{
"id": 1,
"name": "Available",
"description": "",
"color": "#1dc9b7",
"productive": true,
"isHiddenForAgent": false,
"isDefault": true,
"isDeleted": false
},
{
"id": 3,
"name": "Logged Out",
"description": "",
"color": "#fd397a",
"productive": false,
"isHiddenForAgent": false,
"isDefault": true,
"isDeleted": false
},
{
"id": 0,
"name": "Null",
"description": "",
"color": "#ffb822",
"productive": false,
"isHiddenForAgent": true,
"isDefault": true,
"isDeleted": false
},
{
"id": 1001,
"name": "Test Workstate",
"description": null,
"color": "#e920f7",
"productive": false,
"isHiddenForAgent": false,
"isDefault": false,
"isDeleted": true
},
{
"id": 2,
"name": "Unavailable",
"description": "",
"color": "#ffb822",
"productive": false,
"isHiddenForAgent": false,
"isDefault": true,
"isDeleted": false
}
],
"dataType": "WorkstateResult",
"hasPaging": false
}