Retrieving a Requested Document
Retrieve a previously requested report
Once a report has been requested the actual report is retrieved in the background and the result will be returned asynchronously. See Asynchronous Calls (Backgrounding Processes) for more details.
The report data will also be attached to the entity for retrieval at any future point of time. All the reports run are attached to a specific entity to ensure historical reports can also be retrieved if requested via the API.
Note
Step 6 in the above asynchronous call isn’t required for this response only.
Sample Webhook Notification
Below is a sample webhook notification that will be received once the ordered report is ready to be downloaded.
The webhook notification will contain a URL to the actual data of the retrieved report. The response will contain the metadata, base 64 encoded PDF, etc.
Alternative retrieval reports
The reports can also be retrieved via making API calls at a later point of time once the reports have been successfully generated if ever required.
You will need an Entity ID previously created through the Retrieve a Business Profile
To retrieve any report against an entity follows the steps below:
- Call the Get Entity Details. You will need to retrieve a specific documentID from the response to the above call for the next step.
- Call the Retrieve Document Details