cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch data records from API webservice based on date range using REST Polling Sender

former_member593220
Participant
0 Kudos

Hi All,

I need your inputs to achieve one of my business requirement using REST Polling sender.

My scenario is REST to SFTP

PO needs to pull the records from sender webservice using REST adapter once per day by polling.

For this I have configured sender REST Polling adapter & configured availability time planning for sender (To run once per day) and channel is pulling the JSON data as expected from sender webservice and creating the file post transformation.

- As per requirement PO need to pull the data from web service using last modified date.

I had extended my URL using {incrementalToken} with time stamp of last call option, but PO is fetching the data belongs to other dates too.

rest-senderchannel.png

Target URL being used in channel: https://<Host>:<Port>/list?lastmodifieddate={incrementalToken}

rest-sender-channel1.png

But API team asked me to fetch the data using date range like : https://<Host>:<Port>/list?lastmodifieddate-from=2022-05-28T00%3A00%3A00&lastmodifieddate-to=2022-05...

Could some one please let me know if we can send the date time format like showed above instead zoda format to pull the records using this option & dynamic URL by means of REST Polling sender.?

Thanks in advance!!

Raj

Accepted Solutions (0)

Answers (0)