@pankaj chaturvedi Are you passing required date range to your REST API in the copy activity ? You need to pass dates to your REST API so that you can get the data between the start date and end date range from REST API. I have not tested it yet with REST API but with SQL source able to achieve it -
- Set Date variable then in copy activity passing the same Date to form a dynamic query to get data of that particular date only in Source.
- Now, in the Sink Dataset I am using the same Date variable to concatenate and create the FileName as shown below.
Here is the Sink dataset is configured to take the FileName as parameter to create the respective file with data.
Output:
![41196-image.png][5]