/jobs/{jobID}/status
Returns the status of an import job. This call can also be used to check the status of an asynchronous job after a /run call.
API Request Details
|
URL |
{BaseURL}/jobs/jobID/status |
|
Request Type |
GET |
|
Request Content |
application/json |
Sample Response
200: OK
Ready for write job
{
"jobStatus": "READY_FOR_WRITE",
"jobStatusDescription": "Job 432661d8-8d62 for modelID modelA has been created successfully and data has been pushed to temporary storage. Push more data or run job now.",
"additionalInformation": {
"totalNumberRowsInJob": "1",
"failedNumberRows": "0"
}
}
Job completed
{
"jobStatus": "COMPLETED",
"jobStatusDescription": "Job 432661d8-8d62 for modelID modelA has been executed successfully",
"additionalInformation": {
"totalNumberRowsInJob": "1",
"failedNumberRows": "0"
}
}
Job failed
{
"jobStatus": "FAILED",
"jobStatusDescription": "Job 432661d8-8d62 for modelID modelA has failed. Please see additional information to understand root cause.",
"additionalInformation": {
"totalNumberRowsInJob": "0",
"failedNumberRows": "1"
}
}
Error Responses
|
HTTP Status Code |
Returns |
|---|---|
|
400 |
Bad Request |
|
403 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Unexpected Error |