A Participant can set default values (Base, Lower, and Upper).

PUT {{baseUrl}}/defaultPosition/:senderBic

The Set Default Position request allows the Participant to set its default position for one day specific of the week, from Monday to Sunday, and for one or more specific LACs of that day. The Participant can set the lower, base, upper and reset to base position values for each LAC specified. Only the values of the specified LACs will be modified. 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 SetDefaultPosition Request on behalf of the LSPs whose liquidity management is responsible for. The response contains the EffectiveDate that was calculated by the system as the first occurrence for application of the new default values. This date is the next TARGET relative to the processing date of the request. If the pair Day – LAC in the request is the next one with respect to the current one in 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", "defaultDayValues"=>{"day"=>1, "defaultLACValues"=>[{"lac"=>"3", "base"=>1000000000000000, "lower"=>1000000000000000, "upper"=>1000000000000000, "resetToBasePosition"=>"0", "sendAccountQueryToTips"=>"0"}]}}

HEADERS

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

RESPONSES

status: OK

{&quot;dateTime&quot;:&quot;2019-06-21T23:20:50.000001&quot;,&quot;effectiveDate&quot;:&quot;2019-06-21&quot;}