PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Multiple Independent API calls REST connector

Abhay_Yadav
New Contributor II
New Contributor II

Hi,

We have a requirement to get the last login date from an REST application.

We have a master data api that returns all the Account and entitlement details different endpoints for Account and Access.

There is a third API that returns "Last login date" of the user.  This will require a separate token generation and connection. Also, This API has a limitation of 3000 calls per day so we cannot call this for each user in Dependent API calls. 

Is there a way to handle this scenario to Call "Master data api" to get all the account and access details and then call the last "login API" to get the last login date of all the users at once(paginated) and map it to each user account based on username(also present in Last login api).

Regards,

Abhay  Yadav

3 REPLIES 3

SB
Saviynt Employee
Saviynt Employee

Since you are creating a separate connection, you can create a new trigger for this run. In the trigger, you can select the same security system but for External Connection, you can select the name of the new connection created. You can then add both the jobs in a trigger chain to ensure one runs after the other.

sahil_0-1695744373830.png

 


Regards,
Sahil

Abhay_Yadav
New Contributor II
New Contributor II

Hi @SB ,

From different connection i meant it's a different URL for "Last login date" is there a way to do it in the same import account json.

Regards,

Abhay Yadav

SB
Saviynt Employee
Saviynt Employee

REST connector does support multiple calls and in case you have a dependent attribute for the 2nd call, you can refer to the below Doc link for the sample. I have not personally used multi call without attribute dependency. You can try to make the second call with direct api url using same template without dependentCall parameter and see if this works for you.

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm


Regards,
Sahil