Health Connect Australia Provider Directory FHIR Implementation Guide - Local Development build (v26.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page describes the option to delete an Asynchronous Bulk Data Export request.
Deleting requests has 3 key components:
The following preconditions, as documented in the status polling function, SHALL be met before deleting a bulk data export request:
202 Accepted response from the initial batch request submissionAfter a successful request has been made to the server, a client MAY send a http DELETE request to the URL provided in the Content-Location header to cancel the request.
Request HTTP header
DELETE [base]/$export-poll-status?_jobId=a5a60ba8-5bdc-4d2d-a7ef-13f905205b01
Request HTTP body: absent
The server responds with a 202 Accepted status code.
Response HTTP header
HTTP/1.1 202 Accepted
Response HTTP body: absent
Subsequent polls to this URL MUST return 404 Not Found.
If the server rejects the request, it returns:
400 Bad Request errorExample Error Response:
HTTP/1.1 400 Bad Request
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Endpoint artefact not found for the provided job ID."
}
]
}