get https://api.bigpanda.io/resources/v1.0/enrichments-jobs/
Checks the status of an asynchronous job to upload or update a mapping enrichment table.
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the Org Token type of Authorization token.
Sample Calls
curl --request GET \
--url https://api.bigpanda.io/resources/v1.0/enrichment-jobs/8ded2313-0ebd-42e5-a36c-120420674863_1494492216_indexcsv \
--header 'Authorization: Bearer <ORG TOKEN>' \
--header 'Content-Type: application/json; charset=utf8'
curl --request GET \
--url https://eu-api.bigpanda.io/resources/v1.0/enrichment-jobs/8ded2313-0ebd-42e5-a36c-120420674863_1494492216_indexcsv \
--header 'Authorization: Bearer <ORG TOKEN>' \
--header 'Content-Type: application/json; charset=utf8'
Usage
Jobs are objects that manage asynchronous tasks for potentially long-running actions, such as uploading or updating a mapping enrichment table. When these actions are performed, a new job is created, and the API returns the Job object and a location header with the URL for checking the status.
When performing actions that use jobs, follow these steps:
- Make a request (for example, upload a mapping enrichment table).
The associated Job object is created and a URL for checking the status is returned. - Use the URL to periodically check the job status until it is set to done or failed.
- If the job was not successful, you can retry the request.
If necessary, debug any connectivity issues or data formatting issues that may have contributed to the failed upload. For example, ensure the CSV file follows the enrichment schema definition.