Retrieve Job Status for an Export Identifier and Job Identifier

get

/ohfapi/cg/v3.3/exports/{exportId}/jobs/{jobId}

This endpoint supports the retrieval of Export job Status for as Export Identifier and Job Identifier.

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ExportJobExStatus
Type: object
Show Source
Back to Top

Examples

The following example submits a GET request.

Example 1

API URL (Get Status ??? Running)

http://localhost:7010/ohfapi/cg/v3.3/exports/1270/jobs/4709

Example of Response Body

The following example shows the response returned in JSON format.

{
  "exportId": 1270,
  "jobId": 4709,
  "status": "RUNNING",
  "links": [
    {
      "rel": "GETSTATUS",
      "href": "/ohfapi/cg/v3.3/exports/10498/jobs/701"
    }
  ]
}

Example 2

API URL (Get Status ???Succeeded)

http://localhost:7010/ohfapi/cg/v3.3/exports/1270/jobs/4709

Example of Response Body

The following example shows the response returned in JSON format.

{
  "exportId": 1270,
  "jobId": 4709,
  "status": "SUCCEEDED",
  "links": [
    {
      "rel": "GETSTATUS",
      "href": "/ohfapi/cg/v3.3/exports/1270/jobs/4709"
    },
    {
      "rel": "GETDATA",
      "href": "/ohfapi/cg/v3.3/exports/1270/jobs/4709/data"
    }
  ]
}

Example 3

API URL (Get Status ??? Failed)

http://localhost:9010/ohfapi/cg/v3.3/exports/1271/jobs/4710

Example of Response Body

The following example shows the response returned in JSON format.

{
  "exportId": 1271,
  "jobId": 4710,
  "status": "FAILED",
  "links": [
    {
      "rel": "GETINFO",
      "href": "/ohfapi/cg/v3.3/exports/1271/jobs/4710/info"
    }
  ]
}
Back to Top