Forum Discussion

mayur_vaikar's avatar
mayur_vaikar
New Contributor
2 years ago

How to get response value and pass it to parameter for next run

Hi All,

I have an API where I am passing a parameter called changenumber as below

https://stg.integration-platform.medi-map.co.nz/fhir/MedicationAdministration?change-number=1711209

Once the call is made, it returns data with change number greater than 1711209. It returns around 100 records per run.

I need to pass the last change number from the response to the new call I make. Lets say the last record had a change number 1711308. This needs to be the parameter of the new call.

How can this be achieved.

TIA.

Mayur