Get a binary by ID
get
/Binary/{id}
Note: The FHIR API endpoints described below are currently pending production deployment for electronic health record (EHR) environments. Developers are welcome and encouraged to develop against the specifications in anticipation of production availability, which will be announced at a later date.
Retrieves an individual binary by the associated ID.
Headers
Use an Accept header of application/fhir+json to retrieve the JSON Binary resource.
Request
Path Parameters
-
id(required): string
The logical resource ID.
Header Parameters
-
accept(required): string
The media type to be requested.
Example:
application/fhir+json -
authorization(required): string
The credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
There's no request body for this operation.
Back to TopResponse
200 Response
Successful retrieve response.
Root Schema : Binary
Type:
Show Source
object-
contentType(required): string
The type of data in the Binary resource.
-
data: string
The base64-encoded content of the Binary resource.
-
id(required): string
-
meta: object
meta
-
resourceType(required): string
Allowed Values:
[ "Binary" ]
Default Response
An OperationOutcome
describing any error that occurred.
Root Schema : OperationOutcome
Type:
Show Source
object-
issue(required): array
issue
-
resourceType(required): string
Allowed Values:
[ "OperationOutcome" ]