Data Integration Connectors
- Data Integration Connectors
- All Products
mftsaas/api/v1/sendfiles/<connection ID>
Field
| Type
| Required
| Description
|
---|---|---|---|
targetConnectionType
| String
| Yes
| Connection type. To transfer files to an AS2 server, specify "as2".
|
srcDirectoryPath
| String
| Yes
| Directory path to the files you want to transfer.
|
srcFilePattern
| String
| Yes
| Source file name pattern. Specify a file name pattern to identify which files to send. You can use the asterisk (*) wildcard in the file name pattern.
|
deleteSourceFiles
| String
| -
| Whether to delete source files after a successful POST request. Use one of the following values:
Default is true.
|
POST <serverUrl>/mftsaas/api/v1/sendfiles/<connection ID> Accept:application/json IDS-SESSION-ID: <icSessionId or INFA-SESSION-ID> { "targetConnectionType": "as2", "srcDirectoryPath": "C:\\server\\userdata\\workspace", "srcFilePattern": "file_*“ }
{ "projectId": 0, "timeTaken": 0, "queuePriority": 0, "runPriority": 0, "runMode": "UNKNOWN", "submitSourceId": -1, "correlationId": "OWMxOTc2YjktNzI4YS00Mm", "runModeInteractive": false, "runModeBatch": false, "runModeDebug": false, "runModeUnknown": true, "formattedTimeTaken": "0.00", "id": 1000000000384, "runId": 385 }