Uploading binary content (V2)
To upload the binary content of an attachment, data must be uploaded as multipart/form-data into the storage service. The resulting key is then stored in the StorageReference property of the attachment.
cURL Example
curl -X POST
'https://{fqdn_helix}/api/v1/Files?Type=ArchiveDocumentAttachment' \
-H 'Authorization: Bearer {ACCESS_TOKEN}'
-H 'accept: application/json' \
-H 'x-xsuite-remoteauth: {REMOTE_AUTH_TOKEN}'
-H 'Content-Type: multipart/form-data' \
-F file=@CubeMMAlpaca01.pdf;type=application/pdf
Example storage key
83948f93-8cb7-48ca-9de3-3e7ffdae93ec