Logo
Swift API Sandbox Collections API Documentation

It allows to ask for the creation of the original xml of the message (valid only for the transactions processed in bulk processing mode).

POST {{baseUrl}}/originalXML/:senderBIC

The originalXML allows participants to retrieve of the original xml of the message (valid only for the transactions processed in bulk processing mode). 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. 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

{ "dateTimeResponse": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "originalXml": { "value": "<Error: Too many levels of nesting to fake this schema>" } }



Curl
curl -X POST 'https://sandbox.swift.com/ebacl-step2-sct/v1/originalXML/:senderBIC' -H 'ivUserKey: culpa quis officia ut in' -H 'ivUserBic: TESTIT88' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","transactionRef":{"transactionType":"Pacs.008","interbankSettlementDate":"2019-06-21","transactionId":"TESTTRANSEF135000000000000000000123","type":"SNT","transactionStatus":"STG","debtorBankBIC":"TESBIC22XXX","creditorBankBIC":"TESBIC22XXX","settlementCycle":"01"}}'

ENDPOINTS