Click HERE to see how Saviynt Intelligence is transforming the industry. |
03/18/2024 10:28 AM
Hi Team,
I want to invoke 2 APIS in REST connection json. First API call response will be used in second API to generate token. Kindly share example.
NOTE: ITS NOT A REFRESH TOKEN, So cant use refresh JSON Example.
NOTE: ITS NOT FOR ACCOUNT IMPORT.
03/18/2024 08:21 PM
You can't do multi calls in Connection JSON. Make call 1 in Connection JSON and call 2 in other JSONs
03/18/2024 10:33 PM
Consider if I want to use in account import json and i configure token call as call1 and call 2 is to get account.
In general, While processing if access token expires, saviynt will invoke connection and get the token and continues the execution. If I use call1, when token expires in middle of import does saviynt will make sure to invoke connection json and also call1 as well before proceeding with pending import ?
03/18/2024 10:34 PM - edited 03/18/2024 10:34 PM
Yes it will make call and proceed with import. what is validity of token?
03/18/2024 10:42 PM - edited 03/18/2024 10:43 PM
30min and it's a large data set
03/19/2024 05:40 AM
Saviynt team kindly confirm.
03/20/2024 10:19 PM
This will work as expected. you can make call1 in Connection JSON and call 2 to get the objects.
03/21/2024 05:36 AM - edited 03/21/2024 05:54 AM
@adarshk just wanted to confirm.
Call 1 in connection json and call2 in account import json and call1, call2 combination will give the token and call3 is for get objects.
When call 3 tries to import the account and in between if token expires it will insure to invoke call1 in connection json and call2 account import json and continue call3??
03/21/2024 07:50 PM
It will not
03/22/2024 10:21 AM
Yes thats my understanding as well.
As a result, I'm closing this as not supported. I hope everyone agrees!