Delete bulk data
get
/Export/DeleteRequest
Soarian Clinicals supports bulk data delete requests initiated by client applications. If the delete request specifies a bulk data export request that is in progress, the export request is canceled, and any files associated with the export request are marked for deletion. If the bulk data export request completed previously, any files associated with the export request are deleted.
Request
Header Parameters
-
Accept(required): string
The media type to be requested. Refer to what the resource's operation produces for what is supported.
-
Authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
-
Prefer(required): string
Valued as
respond-async
Response
Supported Media Types
- application/fhir+json
Default Response
Example Request
GET https://fhir-ehr-sc.cerner.com/r4/2f8f5ec1-b7b8-4be5-ae27-e308284dd9c1/bulk-api/request/6d7210a3-9c6d-4b4a-ad15-013515b524ba
In this scenario, the polling content location matches the value returned in the response to the initial bulk data request.
Example Response:
A successful response includes:- HTTP Status Code 202 Accepted
- FHIR OperationOutcome resource in the body
{
"resourceType": "OperationOutcome",
"id": "3f6bd10f-8fa4-4606-aa4e-a408844fa965",
"issue": [
{
"severity": "information",
"code": "processing",
"details": {
"text": "Cancellation of Bulkdata request <6d7210a3-9c6d-4b4a-ad15-013515b524ba> has been accepted.\n\t\t\t\t\tCancellation requested at : 2022-05-10T03:14:12Z"
}
}
]
}
6d7210a3-9c6d-4b4a-ad15-013515b524ba>
Errors
The following common errors and OperationOutcomes may be returned from the delete request:HTTP Status | Cause | Severity | Code |
---|---|---|---|
404 | The Population Application is not defined or not active. | error | not-found |
404 | The Request ID was not found. | error | not-found |
404 | This request was previously canceled or has expired. | error | deleted |
406 | The Bulk Data Server rejected this Status Request operation due to an invalid Accept header. | error | structure |
500 | An internal error occurred. | fatal | exception |
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.