Kenji | 2022-03-25 11:27:09 UTC | #1
Hi team,
I'm trying to get user information with the following API in "API Explorer" of Developer Tools, but I can't get it. /api/v2/users/search
The result of the return value UsersSearchResponse will be null. I want to get the results of UsersSearchResponse.
Please tell me the parameter values required when executing. Also, please tell me the URL that will be helpful.
Regards.
Eos_Rios | 2022-03-25 12:15:13 UTC | #2
Can you elaborate on what specifically you're trying to get, or what you're trying to search on/by?
Kenji | 2022-03-26 09:23:25 UTC | #3
Hi team,
Thank you for your reply.
What I want to search for is "user". What I want to get is "results (results)" in the return value of /api/v2/users/search.
The result of the return value UsersSearchResponse will be null.
→I don't know how to specify "query" for BODY "at runtime. Please let me know if there is any information that can be used as a reference for the search conditions.
Regards.
Eos_Rios | 2022-03-26 22:39:00 UTC | #4
What criteria are you wanting to search for users by? There are multiple API that can find users based on what you want them for/by, and some things just aren't possible, so would have to know exactly what you're trying to achieve, not how you think you need to achieve it.
Example: If you just want all users you do not need user search API, you can just use GET /api/v2/users
POST /api/v2/users/search is not necessarily the best solution for all scenarios.
Kenji | 2022-03-28 05:11:14 UTC | #5
Hi Eos_Rios,
Thank you for your reply.
I want to search and get all users in the specified organization. I want to get "systemPresence": "BUSY" or "AWAY".
Under the above conditions, what is the best API and how to run it in Developer Tools?
Regards.
Eos_Rios | 2022-03-28 13:40:55 UTC | #6
If you want it for historical results: POST /api/v2/analytics/users/details/query
But if you want real/time right now:
GET /api/v2/users
Expands: presence is the one you want I think, but you may also be interested in routingStatus;
Kenji | 2022-03-29 08:46:22 UTC | #7
Hi Eos_Rios,
Thank you for your reply. We will refer to the URL you answered.
Regards.
system | 2022-04-29 08:46:31 UTC | #8
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 14036