5.1 File Pickup (Thru MFT to Flow)
Download (Pick-Up) file from Thru MFT Transport from any subscribing organizations.
Thru MFT API returns one file per request from the internal queue. iPaaS flow should call this method periodically / by scheduling. Note that Thru MFT scheduling takes precedence over the flow schedule – for example, the flow can be defined for 10 seconds but Thru MFT to 5 minutes. Thru MFT will only move a file from landing to pick up every 10 minutes, so in effect, files will become available to the flow every 10 minutes.
Method | Request Url |
GET | api/TransportMgr/FlowPickup/<Flow Code> |
Type | Parameter | Values |
HEAD | Authorization | TransportMgrAuthHeader (Required in all service requests) |
URL_PARAM | Flow Code | Transport Code (TRN…) |
Status | Response | Note |
200 | Returns file content in raw format | MIME type, file name and size are in content disposition header. |
Additional information about the file can be retrieved from disposition header. Size can be retrieved from Content-Length header | ||
204 | Content is empty | No content: no files are available for a pickup. |
403 | Content contains access denied message | Invalid Authorization Header in API call. |
500 | Content contains exception (message and stack trace) | Failed to find the Transport, or physical file is missing (quarantined), or download streaming failed. |