Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

get list user api with custom query

09
New Contributor III
New Contributor III

Hi Team,

How to add filter in get List of users API similar to  "user.displayname like '%display%'”."

 

Below API:

 

ECM/api/v5/user?q=accountExpired:0,comments like /'\''%Ra%/'\''&fields=firstname,lastname,username&sort=username&order=desc&offset=2&max=2' 
5 REPLIES 5

rushikeshvartak
All-Star
All-Star

You need to use https://documenter.getpostman.com/view/23973797/2s9YXce5Yd#f3e8752e-85c6-4228-b43c-cbfd10dd89b1 

{{url}}/ECM/{{path}}/getUser - API

rushikeshvartak_0-1700536653575.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Manu269
All-Star
All-Star

@09  can you try this :

curl --location -g '{{url}}/ECM/{{path}}/getUser' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"filtercriteria":{"email":"aabcd@saviynt.com"},
"responsefields":["username","statuskey","firstname"]
}'

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

09
New Contributor III
New Contributor III

@rushikeshvartak @Manu269  kindly please check my question. The question is about get List of user

PFA:

https://documenter.getpostman.com/view/23973797/2s9YXce5Yd#365fb388-e5cd-4487-92f8-879b016606dc 

Its not supported in get List of users


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

09
New Contributor III
New Contributor III

yes. just thought of cross checking. Thanks @rushikeshvartak