This route is used to upload a document.
The maximum file size is 100 Megabytes.
The minimum file size is 100 bytes.
The following file extensions are supported: doc,docx,odt,rtf,txt,pdf,xps,html,epub,djvu,xlsx,xlxm,xls,xml,csv,pptx,pptm,ppt,png,jpeg,jpg bytes.
A file can be uploaded via multipart/form-data with the file key "file".
This endpoint can be called by applications with access to scope "manageReferenceData".
The type of file
Tax
Possible values: Represents the uploaded file via multipart/form-data. This endpoint supports chunked transfer encoding.
POST /external/v1/file/upload?fileType=PrivatePersonID HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{
"fileId": "US9QIFILE1"
}