5.4 File Metadata
Pickup API sends files from all sources. In some cases the source can be identified from file name or file content. Otherwise, this service will identify the source organization.
This service is also useful if the flow needs to create the source organization on the fly on the target. Information includes Organization External (Public) code and Organization name.
Method | Request Url |
GET | api/TransportMgr/FileMetadata/<FileCode> |
Type | Parameter | Values |
HEAD | Authorization | <TransportMgrAuthHeader> |
URL_PARAM | Flow Code | Transport Code (TRN…) |
Status | Response | Note |
200 |
JAVA
| success |
403 | Content contains access denied message | Invalid Authorization Header in API call. |
500 | Content contains exception (message and stack trace) | Failed to find the flow, chunk upload failed, end of file processing failed |
Parameter | Value |
File Processing Type | -1 : None |
FileStatus | -1 : None |
Flow Tool | 0 : All |
Participant Type | -1 : None |
Flow Code and other fields | Flow is a Transport in this structure |
Participant Code | Participant is an Organization. Participant Code is Thru MFT assigned code |
Participant External Code | External code is public code assigned by the enterprise (like DUNS number) |
Relate File Code and Name | These fields are populated for drop-off files only and point to the source file. |