[positionLac]: It allows STEP2 Preferred Agent to inquire the position at a specific LAC.
POST {{baseUrl}}/positionLac/:senderBIC
The positionLac request allows the STEP2 Preferred Agent to retrieve the position at a specific LAC
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",
"positionHistory": [
{
"amount": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"businessDate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"lacNumber": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"settlementBIC": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"timeStamp": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
{
"amount": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"businessDate": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"lacNumber": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"settlementBIC": {
"value&q Curl curl -X POST 'https://sandbox.swift.com/ebacl-step2-cgs/v1/positionLac/: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","settlementBIC":"IPSDID21XXX","businessDateFrom":"2019-06-21","businessDateTo":"2019-06-21","lacNumber":"8"}' ENDPOINTS |