Enterprise Data Catalog REST API Reference > Use Cases > Monitor a Resource Job
  

Monitor a Resource Job

The sample use case is to use the job ID to retrieve the details of the job.
You can use the REST API to retrieve the job details in one of the following ways:
Using Java code and the Bundled Java Client
public void getJobDetails(){
try {
JobMonitor response= this.api.catalogResourcesJobsLoadsIdGet("<jobID>");
//Do something with the returned job details;
} catch (ApiException e){
}
}
Using Curl
curl -X GET --header "Accept: application/json" --header "Content-Type: application/json"
"http://localhost:13000/2/catalog/resources/jobs/loads/<jobID>"
JobMonitor response = this.api.catalogResourcesJobsLoadsIdGet("<jobID>");