cURL
curl --request POST \ --url 'https://{tenant_id}.api.nestmed.com/fhir/r4/$export' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/fhir+json' \ --header 'Prefer: <prefer>' \ --data ' { "_type": "Patient,Encounter,MedicationStatement", "_since": "2023-11-07T05:31:56Z", "_outputFormat": "application/fhir+ndjson" } '
Initiate asynchronous bulk data export for all resources or specific types
The access token received from the authorization server in the OAuth 2.0 flow.
Must be 'respond-async' for bulk export
respond-async
Comma-separated list of resource types to export
"Patient,Encounter,MedicationStatement"
Export resources updated after this time
Output format for exported data
Export request accepted