A Participant can set exception position values (Base, Lower, and Upper).
PUT {{baseUrl}}/exceptionPositionCalendar/:senderBic
The Set Exception Position Calendar request allows the Participant to set the desired position in the SCT Inst for LACs later than the current LAC of the current Business Date, or for LACs of a Business Date in the future, that is no further than one year from the current date. If the Participant is an LSP whose liquidity management is delegated, the request is rejected with ErrorCode XA14. If the Participant is an LP, it is allowed to send the SetExceptionPositionCalendar Request on behalf of those LSPs whose liquidity management is responsible for. For a LAC of the selected Business Date, the Participant can specify its (or those of the specified LSPBic) lower, base and upper values: they will be exceptionally applied at the occurrence of the BusinessDate and LAC as an exception to the default values of the day of the week associated to the BusinessDate. If the pair BusinessDate – LAC in the request is the next one with respect to the current Business Date-LAC of the system, the new values are applied only if the API Request is received within the “Liquidity Agenda Grace Time” system parameter, that represents the minimum time interval remaining to the end of the current LAC, otherwise the request is rejected. The request must anyway be submitted within the “Routing Grace Time”, the system parameter that represents the time limit before midnight for the Participants to submit requests for updates, otherwise it is rejected with ErrorCode XA08.
Request Body
{"dateTime"=>"2019-06-21T23:20:50.000001", "lspBic"=>"IPSDID21", "businessDate"=>"2019-06-21", "exceptionLacValues"=>[{"lac"=>"1", "base"=>1000000000000000, "lower"=>1000000000000000, "upper"=>1000000000000000, "resetToBasePosition"=>"0", "sendAccountQueryToTips"=>"0"}]}
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"}