Create Folder or File

POST https://{{vaultDNS}}/api/{{version}}/services/file_staging/items

https://developer.veevavault.com/api/23.1/#Create_File_or_Folder

Upload files or folders up to 50MB to the File Staging Server. To upload files larger than 50MB, see Resumable Upload Sessions. You can only create one file or folder per request.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"kind", "value"=>"", "datatype"=>"null"}, {"name"=>"path", "value"=>"", "datatype"=>"null"}, {"name"=>"overwrite", "value"=>"", "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring
Content-MD5nullOptional: The MD5 checksum of the file being uploaded.