/
Create a Document
Create a new document for a subject and get a signed URL to upload the document.
Security
bearer
- https://partner.xcures.comhttps://partner.xcures.com/api/v1/patient-registry/document
curl -i -X POST \
https://partner.xcures.com/api/v1/patient-registry/document \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'ProjectId: e6b01018-a333-4732-917e-fe38e91b0fdf' \
-d '{
"subjectId": "string",
"documentName": "string",
"documentDate": "2019-08-24T14:15:22Z",
"fileName": "string",
"informationTypes": [
"string"
],
"contentType": "application/xml"
}'Response
{ "documentId": "string", "signedS3Url": "string" }