Implementation Step 3:
Poll for job completion
Use Data API's GET /jobs endpoint to poll the dataset generation job's status. Pass the job_reference
returned earlier. A status of "completed"
indicates that the dataset has been compiled successfully and can now be retrieved using Reports API and Data API. A status of "halted"
indicates that the job has not completed successfully. Consult the error
property of the job for further information.
For sample request and response objects, visit the GET /jobs documentation.