queueCustomerNumCJI (orgidentity, queuenumber, prio, callbackFuc)
According queue number, query current waiting customer stat
| Params | Type | Description |
|---|---|---|
| orgidentity | String | team identity string |
| queuenumber | String | queue number, 0 means all queues |
| prio | String | Priority, 0 by default, means only query customer who has high priority than this |
| callbackFuc | String | callback function |
{code:code,message:message}
| Value | Description |
|---|---|
{code:1,message:message}
| {code:succeed,message:message}
message use ‘|’ as seprator,shows the number of callers
total|ringing|waiting|talking
Such as
{code:1,message:1|0|1|0}
|
{code:2,message:message}
| {code:failed,message:message}
|