Docs

Start Order File Upload

POST /Orders/{orderId}/attributes/{attributeId}/files

POST/Orders/{orderId}/attributes/{attributeId}/files

Starts uploading a file into an order's File or MultiFile attribute, on an event order or an organization order: a new file in the order's folder or the type's named folder, in the event's drive or the org drive. PUT the bytes to uploadTarget, then commit fileId with Orders_SetOrderValue. attributeId comes from the order's type values on Orders_GetOrder. Needs Order.Edit. On a tracked attribute it adds a version to the attribute's bound deliverable instead (File), or fills its empty one (MultiFile); fileId is then that deliverable and versionId the new version.

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null