Logo
Swift API Sandbox Collections API Documentation

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

POST {{baseUrl}}/getDefaultPosition/:senderBic

The DefaultNetPosition request allows the Participant to retrieve the default values in the SCT Inst for the days in the week, from Monday to Sunday, and all LACs of these days. If the Participant is an LP, it is allowed to send the getDefaultPosition Request regarding the positions of the LSPs on whose behalf such LP is configured to perform liquidity management functions. Only the Owner of a Liquidity Pool is allowed to inquire the default values of a BIC that is a Member of its Pool, in this case it must specify the PoolId and the MemberBic belonging to the Pool for which the request is sent. The response returns the values for each day of week and each LAC for each specific day.

 

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", "values": { "lspBic": "IPSDID21", "lspBicDefaultDayValues": [ { "value": "<Error: Too many levels of nesting to fake this schema>" }, { "value": "<Error: Too many levels of nesting to fake this schema>" } ], "memberBic": "IPSDID21", "poolId": "IPSDID21XXX01", "memberDefaultDayValues": [ { "value": "<Error: Too many levels of nesting to fake this schema>" }, { "value": "<Error: Too many levels of nesting to fake this schema>" } ] } }



Curl
curl -X POST 'https://sandbox.swift.com/ebacl-rt1/v1/getDefaultPosition/:senderBic' -H 'ivUserKey: quis fugiat aute dolore' -H 'ivUserBic: IPSDID21' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"dateTime":"2019-06-21T23:20:50.000001","criteria":{"lspBic":"IPSDID21","memberBic":"IPSDID21","poolId":"IPSDID21XXX01"}}'

ENDPOINTS