Skip to main content

UploadFile

Uploads a data file that can be used as attachment for any entity. Returns a string that must be put into the URL field of the entity that links to the data. Will return null on error.

UploadFile(
forEntity: String!
data: Upload!
): UploadFileResponse!

Arguments

UploadFile.forEntity ● String! non-null scalar

Reference to entity to which the data belongs, for example Patient/12345

UploadFile.data ● Upload! non-null scalar

Binary data to upload

Type

UploadFileResponse object

Response object containing details about the uploaded file.