Upload files to FTP server

POST /api/.../remotefiles

Upload files to FTP server. Currently implemented uploading EDI files only.

Request Information

Parameters
Name Type Required Description
dtoRemoteFTPFileInfo DtoRemoteFTPFileInfo Yes Define this parameter in the request body.
DtoRemoteFTPFileInfo
Property Type Nullable Description
FileID String No The name of the file to upload
FileGroup Int No Valid value is 5. Possible values are Unknown(0) or IDList(1) or MARC(2) or Report(3) or Export(4) or EDI(5)
ID Int No ID used to retrive the FTP server information. This is SupplierID for EDI file upload.
Example
application/json, text/json
 {
  "FileID": "1115211006_in",
  "FileGroup": 5,
  "SupplierID": 84
}

Response Information

File name is returned upon success.

Example
application/json, text/json
    "1115211006_in"

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request

Purchase order send process

Send process overview documentation can be found see here