Get the Status of an Export Data Operation
Get the status of an export data operation using the $export-status endpoint.
HTTP Request
Use an HTTP GET request to get the status of an export data operation request:
GET [base]/$export-status?requestId=<requestId>
Params
Query Params:
-
Enter requestId in KEY.
-
Enter the requestId value in VALUE. The requestId value must be picked from the location header of the export data request.
Path Parameters
base: Service endpoint to interact with FHIR resources. For more information, see Service Endpoint.
HTTP Status Response Codes
The following HTTP status response codes are returned to get the status of an export data operation request:
|
HTTP Code |
Scenario |
Description |
|---|---|---|
|
200 |
Successful interaction |
The interaction request is successful. |
|
404 |
No Data Found |
Authorization error. Returns 404 with no response body. |
|
422 |
Unprocessable Entity |
Validation error. Returns 422 with corresponding error message in response body. |
|
200 OK |
Successful interaction |
The export data operation is successful. |
|
Failed interaction |
The export data operation has failed. |
|
|
In progress interaction |
The export data operation is in progress. |
{
"issue": [
{
"severity": "information",
"code": "informational",
"details": {
"text": "Export operation is complete. You can find the exported content at object store path tenantid/instanceid/requestid"
}
}
],
"id": "9d131442-5821-9m4a-3b5d-5m2e821c6a51",
"resourceType": "OperationOutcome"
}