Docs

Start Crew Attribute File Upload

POST /organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/files

POST/organizations/{orgId}/crew/{crewId}/attributes/{attributeId}/files

Starts uploading a file into an organization crew record's File or MultiFile attribute: a new file in the org drive, in the person's folder or the type's named folder. PUT the bytes to uploadTarget with x-ms-blob-type BlockBlob, then commit fileId (Crew_SetCrewAttributeValue at the org, or Crew_SetCrewValue from an event). Needs Crew.Edit at the organization, or the person's own login where the field is crew-editable. 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
orgIduuidRequired
crewIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fileFormatstringOptional
fileSizeintegerOptional

Response

FieldTypeDescription
fileIduuid
versionIduuid
uploadTargetstring| null