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

Rest API call to get Account Details and User Details

sahil
New Contributor
New Contributor

Hi, 

I am trying to fetch User Details and dynamicAttributes related to task the way I am thinking to fetch these details as below.

1. Call to fetchTasks to get all the pending tasks.

2. Fetch the REQUESTKEY from Step 1 response and then  using same REQUESTKEY  call fetchRequestHistoryDetails to get the dynamicAttributes (in my case it is CloneId)

3. using the CloneId value will get the Account details of same using /getAccounts call

4  using userkey get the User Details. 

As i need both both Account Details(from CloneId value that will be passed as dynamicAttributes during the creation of Task from GUI) and User Details 

Just wondering any other way to reduce these call or it should be fine

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Yes this calls are are valid and can't skip or reduce any


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

The flow looks to be percetc.

Can you add more details on this requirement?

Are you trying to develop some external tool?

Also a note, make sure you have setup properly the api user for your operation.

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