Skip to main content

xSuite Helix - Hilfe

Uploading binary content (V1)

To upload the binary content of an attachment, you update the data as multipart/form-data into the storage service. The resulting key is then stored in the StorageReference property of the attachment. It is sufficient if you specify the file and the file type when you call the operation. See Storage Service API (V1).

cURL Example

curl -X POST "https://{customer}.{tenant}.cp.xsuite.com:{port}/api/v1/Storage/api" -H "Authorization: Bearer {ACCESS_TOKEN}" -H "accept: application/json" -H "x-conveyor-auth-token: {CONVEYOR_AUTH_TOKEN}" -H "Content-Type: multipart/form-data" -F "file=@000004-DE-UtopianIt.-25986.pdf;type=application/pdf"

Example storage key

83948f93-8cb7-48ca-9de3-3e7ffdae93ec