Hi @Hmong Lee
Thank you for reaching out to the community forum with your query. Based on the information you provided, it seems like you are only getting a single record from pulling data from a Rest API to a CSV file.
To resolve this issue, I would suggest checking the following:
- Verify that the Rest API endpoint is returning the expected data. You can do this by testing the endpoint using a tool like Postman or cURL.
- Ensure the API endpoint you're using supports pagination (if the data is expected to be more than one record). If it does, verify that the pagination settings are configured correctly in your ADF mapping.
- Check that the CSV file is being created correctly and that it is not being overwritten with each new record. You can do this by opening the CSV file in a text editor or spreadsheet application.
- Review the code that is pulling data from the Rest API to ensure that it is correctly handling the response and appending new records to the CSV file. You can share the code snippet with us if you need further assistance.
If the issue persists, please provide more details about the Rest API and CSV file creation process, including any relevant code snippets, to help identify the root cause of the issue. Additionally, I came across a third-party article that provides a step-by-step process to read multiple pages of an API and export the data to different CSV files. However, it may be relevant to your query, and you can use it as a reference to help you resolve the issue.
I hope this helps! Let me know if you have any further questions or concerns.