cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to pass parameter to the API from a list

mayur_vaikar
New Contributor

Hi All,

I have an API which returns data for all traning courses for the staff.

I need to pass the facility Id as a parameter to get the response for each location.

https://www.medehealth.com.au/report/training-due-details?startDate=2023-04-01T09:36:01.263Z&facilit...

I have the list of the facility Ids that needs to be passed.

How do I automate this so it picks up all the facility IDs from the list or dictionary and get results for all the sites.

2 REPLIES 2

SpiroTaleski
Valued Contributor

@mayur_vaikar 

Probably you should split that list using JSON Splitter Snap, and then pass each Id to the REST call. 

Thanks for the reply but I am new to the platform. Can you please provide more details.