/jobs/{id}

GET
https://sample-api.d-velop.cloud
Retrieving a job
Parameters
id/string/required
The unique ID of the job.
Responses
200
The job was determined successfully.
Content
Media type: application/json
{
  "id": {
    "type": "string",
    "description": "The unique ID of the job.",
    "nullable": true,
    "readOnly": true,
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "status": {
    "type": "string",
    "description": "Status of the job:\r\nCREATED: Job was created\r\nRUNNING: Job is running\r\nCOMPLETED: Job was performed successfully\r\nFAILED: Job failed",
    "nullable": true,
    "readOnly": true,
    "example": "CREATED | RUNNING | COMPLETED | FAILED"
  }
}
Media type: application/hal+json
{
  "id": {
    "type": "string",
    "description": "The unique ID of the job.",
    "nullable": true,
    "readOnly": true,
    "example": "00000000-0000-0000-0000-000000000000"
  },
  "status": {
    "type": "string",
    "description": "Status of the job:\r\nCREATED: Job was created\r\nRUNNING: Job is running\r\nCOMPLETED: Job was performed successfully\r\nFAILED: Job failed",
    "nullable": true,
    "readOnly": true,
    "example": "CREATED | RUNNING | COMPLETED | FAILED"
  }
}
404
The job with the specified ID could not be determined.
Content
Media type: application/json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Media type: application/hal+json
{
  "code": {
    "type": "integer",
    "format": "int32",
    "example": 240100
  },
  "reason": {
    "type": "string",
    "nullable": true,
    "example": "Reason why the request failed."
  }
}
Show operation

Language

const options = {method: 'GET', headers: {accept: 'application/json'}};

fetch('https://example.com/dmsconfig/jobs/ID', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));