Permissions
---- Permissions:INTEGRATOR,OPERATOR,SUPERVISOR ----
Curl Example
$ curl 'http://localhost:8080/api/v1/threads?statuses=ASSIGNED,CLOSED&page=0&size=5&agentLogins=operator1,operator2' -i
HTTP Request
GET /api/v1/threads?statuses=ASSIGNED,CLOSED&page=0&size=5&agentLogins=operator1,operator2 HTTP/1.1
Example of a Successful HTTP Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 1016
[
{
"id": 152,
"status": "CLOSED",
"startTime": "2022-02-04T07:59:05.421Z",
"stateChangeTime": "2022-02-04T07:59:05.421Z",
"unread": 2,
"unanswered": 2,
"currentAgent": 1,
"currentAgentLogin": "operator1",
"lastAgent": 10,
"lastAgentLogin": "operator10",
"channel": 2,
"clientId": 1024,
"clientExternalId": "ACC1234000567",
"clientName": null,
"threadUrl": "http://threads.im/arm/thread/152",
"tags": [],
"info": {}
},
{
"id": 167,
"status": "ASSIGNED",
"startTime": "2022-02-04T07:59:05.421Z",
"stateChangeTime": "2022-02-04T07:59:05.421Z",
"unread": 0,
"unanswered": 0,
"currentAgent": 2,
"currentAgentLogin": "operator2",
"lastAgent": 20,
"lastAgentLogin": "operator20",
"channel": 1,
"clientId": 865,
"clientExternalId": "ACC1234000304",
"clientName": null,
"threadUrl": "http://threads.im/arm/thread/167",
"tags": [
"1",
"2"
],
"info": {
"key": "value"
}
}
]