A data architect needs to retrieve data from a REST API. The data architect needs to loop over a series of items that are being read using the REST connection. What should the data architect do?
A.
Recreate the SQL Statement with the correct parameters
B.
Use the REST Connector with pagination mechanism
C.
Use pagination of the REST Connector to create a template of the desired data
D.
Use With Connection to pass a parameter to the REST URL
When a data architect needs to loop over a series of items from a REST API, the typical approach is to use the With Connection clause. This clause allows dynamic modification of the REST URL by passing parameters or changing configurations during the script execution.
Here's how it works:
The REST connection is initially established.
The With Connection clause is used to modify the query or parameters for the subsequent calls to the API.
A loop can be implemented in the script to iterate through multiple requests, with the necessary parameters (e.g., page numbers, item IDs) dynamically updated for each iteration.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jdossa91
2 weeks, 2 days ago