GET
/transactional-api/retrieve-document/Binary/:documentIdRetrieve Document
Retrieves the binary content of a document by its identifier via GP Connect Access Document. Returns a FHIR STU3 Binary resource whose content field carries the base64-encoded document data.
Authorization: Bearer token (JWT). See Authentication.
Request
curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/retrieve-document/Binary/:documentId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Path and query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
documentId | path | string | Yes | Identifier of the document to retrieve. |
Responses
200 A FHIR STU3 Binary resource containing the document content.
{}
400 Validation or retrieval error.
{
"errors": [
{
"code": "no-patient-id",
"description": "No patientId specified"
}
]
}