Docs
Start Order File Upload
POST /Orders/{orderId}/attributes/{attributeId}/files
POST
/Orders/{orderId}/attributes/{attributeId}/filesStarts 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
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fileFormat | string | Optional | |
| fileSize | integer | Optional |
Response
| Field | Type | Description |
|---|---|---|
| fileId | uuid | |
| versionId | uuid | |
| uploadTarget | string| null |