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.
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": {},
"endOfList": true,
"messages": [
{
"dateTime": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"lastStatusUpdate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageType": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"network": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"reasonCode": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageStatus": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"originalMessageRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"IGFFileRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"OGFFileRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"dateTime": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"lastStatusUpdate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageType": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"network": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"reasonCode": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"messageStatus": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"originalMessageRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"IGFFileRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"OGFFileRef": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
],
"senderReceiverBIC": "TESTIT88",
"offset": "AAaa88ss2345fggGGDDaaaHH"
} |
ENDPOINTS