Docs

Start Event Attribute File Upload

POST /Events/{eventId}/attributes/{attributeId}/files

POST/Events/{eventId}/attributes/{attributeId}/files

Starts uploading a file into one of the event's File or MultiFile attributes: a new file in the event drive, in the folder the event type names for the attribute (built from its base template), else the drive root. PUT the bytes to uploadTarget with x-ms-blob-type BlockBlob, then commit fileId with Events_SetEventAttributeValue. attributeId comes from Events_GetEventAttributeProfile. Needs event settings permission, as for the value write. 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
eventIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null