Forum Discussion

mayur_vaikar's avatar
mayur_vaikar
New Contributor
2 years ago

How to pass parameter to the API from a list

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&facilityId=abcd1234&endDate=2023-05-06T09:36:01.263Z

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