Upload New File
POST/uploadSchemaFile
This API call can be used to upload the file in a specific location based on the property job.ecm.imp.file.path in InternalConfig.groovy.
The Authorization must have Bearer followed by Token.
Mandatory params:
file - file with any extension (Example - file with .csv/.xlsx extension)
pathLocation - Should be set to Datafiles
Request
Path Parameters
path stringrequired
- multipart/form-data
Body
file binary
pathLocation string
Responses
- 200
Upload New File / Upload New File
Response Headers
- Access-Control-Allow-Credentials - string 
- Access-Control-Allow-Origin - string 
- Cache-Control - string 
- Connection - string 
- Date - string 
- Expires - string 
- Pragma - string 
- Referrer-Policy - string 
- Set-Cookie - string 
- Strict-Transport-Security - string 
- Transfer-Encoding - string 
- X-Content-Type-Options - string 
- X-Frame-Options - string 
- X-XSS-Protection - string 
- application/json
- Schema
- Example (from schema)
- Upload New File
Schema
errorCode string
msg string
{
  "errorCode": "0",
  "msg": "file Save Successfully"
}
{
  "errorCode": "0",
  "msg": "file Save Successfully"
}
Loading...