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

How to use Operators (gt: and lt:) while calling Saviynt APIs?

PramodSimha
New Contributor
New Contributor

We are trying to expose Saviynt data to 3rd party applications in our organization using Saviynt APIs. We have a scenario where we want to import the data from Saviynt APIs (getuser API) on a daily and we want to use savupdatedate as a param to be filtered to fulfil our need to import data incrementally.

For example: 

https://ssm-url/api/v5/user?q=accountExpired:0&offset=0&max=1000&sort=savUpdateDate&order=asc&savUpd...03:26:40"}

The above API call with our prod URL returns user list with savupdatedate before 1st July as well. Is this an issue or are we using the operators incorrectly? 

Is there some document or reference to use the APIs with gt and lt operators

 

1 REPLY 1

Rishi
Saviynt Employee
Saviynt Employee

Can you try to use the getUser API and then use the userQuery operator to pass the condition like user.savupdatedate > '2023-07-05' 

https://documenter.getpostman.com/view/1797923/Uz5KmEhE#ccd57bb7-2418-4c9e-bd69-15fb5888d5db