List Requests
You can List the Requests for a Collection by making making a HTTP GET request to the /collections/COLLECTION_ID/requests/PAGE endpoint (where COLLECTION_ID is the id of the Collection to get Requests for, and PAGE is the page of Requests to get).
The /collections/COLLECTION_ID/requests/PAGE endpoint returns the Requests for a Collection in pages of 1000 Requests per page. Pages start at 1 . You can find out how many pages a Collection has by inspecting the requests_page_count field returned from the Get Collection endpoint.
BlueCart API also provides two more endpoints to allow you to retrieve a download link for all Requests in a Collection, in either JSON or CSV format.
GET /collections/COLLECTION_ID/requests/PAGE
In the example below we List page 1 of the Requests for the Collection with id=123456 :
BlueCart API responds with the following JSON showing all the Requests on page 1 of the Collection:
GET /collections/COLLECTION_ID/requests/json
In the example below we retrieve download links for all Requests for Collection with id=123456 in JSON format:
BlueCart API responds with the following JSON detailing the total number of Requests requests_total_count , the total number of pages requests_page_count and a JSON file download_link for each page:
GET /collections/COLLECTION_ID/requests/csv
In the example below we retrieve download links for all Requests for Collection with id=123456 in CSV format:
BlueCart API responds with the following JSON detailing the total number of Requests requests_total_count , the total number of pages requests_page_count and a CSV file download_link for each page:
Next Steps Listing Result Sets Getting Result Sets