gberthia | 2024-04-19 13:59:14 UTC | #1
I am currently using the following "https://api.usw2.pure.cloud/api/v2/users?pageSize=2&expand=routingStatus&state=active" and want to know if it is possible to add a filter where the routingStatus > status value equals "INTERACTING"? So far I have not found a way...
....... "routingStatus": { "status": "INTERACTING", "startTime": "2024-04-19T12:10:04.002Z" },
Ebenezer_Osei | 2024-04-23 20:24:02 UTC | #2
Hi,
You could use the POST /api/v2/users/search endpoint to query users based on their routingStatus.
Best
gberthia | 2024-04-24 13:26:43 UTC | #3
A POST of "/api/v2/users/search" would not by default filter out values in routingStatus.status. I just want returned the users where routingStatus.status = "NOT_RESPONDING". I currently have to loop through 500+ users just to find maybe 1 with that status value which is very inefficient.
system | 2024-05-24 13:26:45 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 25827