To initially upload any number of file(s) that the patient has uploaded in response to the questions of type "File". Once uploaded to our server, we shall give our unique id(s) of the file(s) uploaded in this API's response. Please use this unique id(s) of the file(s) while submitting the entire questionnaire's response. Allowed file types are .jpg/.jpeg, .png, .pdf and .heicField | Type | Description |
---|
attachments[] | file | Required. The user provided file(s) to be associated patient forms. The file(s) must be a file of type: jpg, jpeg, pdf, heic |
Example Success Response:
Status: 200[
{
"file_name": "prescription1.jpg",
"uuid": "4405a28c-c4d7-44f1-9546-e59b02f02643"
},
{
"file_name": "prescription2.png",
"uuid": "b7141288-17db-49b6-ba86-262d99e8b685"
},
{
"file_name": "prescription3.pdf",
"uuid": "6fd0b2f3-2b0c-4822-9156-ea12803334f6"
}
]
Example Failure Response:
Status: 400 or 403 or 500{
"error_message": "Request Failed. {{error_message}}"
}