AM/FA/Inv - Upload Document
Details
Synopsis
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: The booked id of file. Should not exceed 12 characters.
USS3JKS01I00
Represents the uploaded file via multipart/form-data. This endpoint supports chunked transfer encoding.
Successfully uploaded file
The following error codes can be returned:
-
GN0002
-
FL0021
-
FL0022
-
FL0023
-
FL0024
-
FL0016
Please refer to the error code dictionary for the details of each error code.
Invalid session or expired
The following error codes can be returned:
- AU0002
Please refer to the error code dictionary for the details of each error code.
POST /external/v1/file/upload?fileType=PrivatePersonID&bookedFileId=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{
"fileId": "US9QIFILE1"
}
Last updated
Was this helpful?