AM/FA/Inv - Upload Document

Details

/external/v1/file/upload

Synopsis

Upload Document

post

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".

Required scopes
This endpoint requires the following scopes:
  • : manageReferenceData
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
fileTypestring · enumRequired

The type of file

Example: TaxPossible values:
bookedFileIdstringRequired

The booked id of file. Should not exceed 12 characters.

Example: USS3JKS01I00
Body
filestring · binaryOptional

Represents the uploaded file via multipart/form-data. This endpoint supports chunked transfer encoding.

Responses
post
/external/v1/file/upload

Last updated

Was this helpful?