In Multi tenant environment , i have registered Salesforce API in gateway and able to get the API response successfully
But the GET API calls have "from date" and "to date" as parameters which are suppose change dynamically based on the API schedule.
Eg:
As part of initial load for the first schedule ( every 30 min) if we pass "from date" as 2020-01-02 05:00:00 and "to date" as 2020-01-02 05:30:00
After 30 min "from date" should be dynamically set as as 2020-01-02 05:30:00 and "to date" as 2020-01-02 06:00:00.
Any ideas how can we set the dynamic date values in API request parameters?
We might need to use scripting component to send the XML values as dynamic parameters to trigger the API.
Any scripting sample would be helpful.
.