GET /api/v1/edc/studies/MOCK-STUDY/jobs/d6382526-eee1-433f-9612-a5950e224286 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Given a batch ID, fetch the job information. A job is an API operation that is created by submitting request to
the POST records endpoint.
A GET request is used to access the index
GET /api/v1/edc/studies/MOCK-STUDY/jobs/d6382526-eee1-433f-9612-a5950e224286 HTTP/1.1
Content-Type: application/json
Host: localhost:8080
Path parameters are required.
| Parameter | Description |
|---|---|
|
Study Key to retrieve job state |
|
Batch ID that is provided from the postRecords endpoint |
Below is an example response payload.
{
"jobId" : "12555b05-58fd-4fa6-b7fa-31d1ed7f4e7d",
"batchId" : "5e3b040a-ea07-4311-9889-c8855fa17062",
"state" : "completed",
"dateCreated" : "2020-12-01 21:47:36",
"dateStarted" : "2020-12-01 21:47:42",
"dateFinished" : "2020-12-01 21:47:45"
}
| Path | Type | Description |
|---|---|---|
|
|
Job ID |
|
|
Batch ID |
|
|
State of the job |
|
|
Timestamp when this job was created |
|
|
Timestamp when the job started running |
|
|
Timestamp when the job was completed |