I need to retrieve documents several times a day from a 3rd party sftp site and upload them to a directory with in the CSD application tenant. I was thinking I could use Infor Distribution Sx.e API via the
/SX/rest/serviceinterface/proxy/FileTransfer call
I need to pass several parameters to the API not found on the file for example:
{
"CompanyNumber":1000,
"Operator": "sys",
"filename": "file.csv",
"subdir": "ProductImport",
"overwrite": true
}
Anyway to script this as default values, rather the trying to read data from a file?