[listFiles]: It allows STEP2 Preferred Agent to retrieve the list of LMR and LNR output files generated by the Module.
POST {{baseUrl}}/listFiles/:senderBIC
The listFiles request allows the STEP2 Preferred Agent to retrieve the list of LMR and LNR output files generated by the module
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
ivUserKey
|
string | The subscription key of a Participant. Following the format cn=<SSO+BIC+UserId+T>,o=BIC8,o=swift. SSO is a fixed string, last character is for environment (P for production and T for test) eg SSOUNCRITMMAPI12345P, o=uncritmm,o=swift | |
ivUserBic
|
string | ||
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"dateTime": "2019-06-21T23:20:50.000001",
"endOfList": true,
"fileList": [
{
"dateTime": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fileReference": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fileStatus": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fileType": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"lacNumber": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"network": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"networkFileName": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"preferredAgentBIC": {
"value": "<Error: Too many levels of nesting to fake this sche Curl curl -X POST 'https://sandbox.swift.com/ebacl-step2-cgs/v1/listFiles/:senderBIC' -H 'ivUserKey: nostrud cupidatat quis sunt' -H 'ivUserBic: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","searchCriteria":{"dateTimeFrom":"2019-06-21T23:20:50.000001","fileType":"LNR","preferredAgentBIC":"\u003cstring\u003e","fileStatus":"TSD","dateTimeTo":"2019-06-21T23:20:50.000001","fileReference":"2D001869LCWL1NDK","lacNumber":"0"},"offset":"id sit officia"}' ENDPOINTS |