It allows to get the details of a specific file sent or received by the Participant.
POST {{baseUrl}}/fileDetails/:senderBIC
The fileDetails request allows participants to get the details of a specific file (sent or received). If no record is found for the set criteria of the request, the HTTP Code 204 is returned with the Response.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
ivUserKey
|
string | The subscription key of a Participant. cn=<SSO+BIC+UserId+T>,o=BIC8,o=swift. SSO is a fixed string, last char 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": {},
"fileDNF": {
"businessDate": {},
"cycle": "01",
"dateTimeSent": {},
"fileReference": "TESTFILEREF01234",
"fileStatus": "TSD",
"fileType": "IDF",
"lastStatusUpdated": {},
"network": "SWT",
"networkFileName": "S202SCTTESTITMM_F800AAA.I",
"numDebitsContained": 1000,
"numPCRContained": 1000,
"numRejectsContained": 1000,
"numReturnsContained": 1000,
"numReversalContained": 1000,
"receiverBIC": "TESTIT88",
"totNumBulks": 1000,
"valDebitsContained": 10000.01,
"valPCRContained": 10000.01,
"valRejectsContained": 10000.01,
"valReturnsContained": 10000.01,
"valReversalContained": 10000.01
},
"fileDRR": {
"businessDate": {},
"dateTimeSent": {},
"fileReference": "TESTFILEREF01234",
"fileStatus": "TSD",
"fileType": " Curl curl -X POST 'https://sandbox.swift.com/ebacl-step2-cor/v1/fileDetails/:senderBIC' -H 'ivUserKey: laborum adipisicing amet velit qui' -H 'ivUserBic: TESTIT88' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","fileRef":{"fileType":"IDF","fileStatus":"TSD","fileReference":"TESTFILEREF01234","dateTime":"2019-06-21T23:20:50.000001","networkFileName":"S202SCTTESTITMM_F800AAA.I","cgs":true}}' ENDPOINTS |