Get the document
POST {{baseUrl}}/api/v1/document/media?content-type=<string>
Converts the incoming document id to base64 text and returns the converted document. A document can comprise of anything, eg.: Doctors' notes, images, etc.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
content-type | string | The content type of the document. |
Request Body
{"documentIds"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
[{"document_id":"\u003cstring\u003e","media_id":"\u003cstring\u003e","document_content_raw":"\u003cstring\u003e","document_content_text":"\u003cstring\u003e","document_content_presentation":"\u003cstring\u003e"},{"document_id":"\u003cstring\u003e","media_id":"\u003cstring\u003e","document_content_raw":"\u003cstring\u003e","document_content_text":"\u003cstring\u003e","document_content_presentation":"\u003cstring\u003e"}]