It allows Participants to enquire the list of messages for which they are sender or receiver

POST {{baseUrl}}/listMessages/:senderBIC

The listMessages request allows a participant to retrieve the list of its messages (sent or received). If no record is found for the set criteria of the request, the HTTP Code 204 is returned with the Response.

Request Body

{"dateTime"=>"2019-06-21T23:20:50.000001", "searchCriteria"=>{"fileType"=>"IDF", "messageType"=>"Camt.003", "senderReceiverBIC"=>"TESTIT88", "dateTimeFrom"=>"2019-06-21T23:20:50.000001", "dateTimeTo"=>"2019-06-21T23:20:50.000001", "messageRef"=>"string", "originalMessageRef"=>"string", "messageStatus"=>"VAL", "reasonCode"=>"stri", "IGFFileRef"=>"TESTFILEREF01234", "OGFFileRef"=>"TESTFILEREF01234", "network"=>"SWT"}, "offset"=>"AAaa88ss2345fggGGDDaaaHH"}

HEADERS

KeyDatatypeRequiredDescription
ivUserKeystringThe 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
ivUserBicstring
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;dateTime&quot;:{},&quot;endOfList&quot;:true,&quot;messages&quot;:[{&quot;dateTime&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;lastStatusUpdate&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;network&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;reasonCode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageStatus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;originalMessageRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;IGFFileRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;OGFFileRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;dateTime&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;lastStatusUpdate&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;network&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;reasonCode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;messageStatus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;originalMessageRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;IGFFileRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;OGFFileRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;senderReceiverBIC&quot;:&quot;TESTIT88&quot;,&quot;offset&quot;:&quot;AAaa88ss2345fggGGDDaaaHH&quot;}