Logo
Swift API Sandbox Collections API Documentation

[setDefaultAgenda]: It allows STEP2 Preferred Agent to set and/or change the default thresholds related to its position.

PUT {{baseUrl}}/setDefaultAgenda/:senderBIC

The setDefaultAgenda request allows the STEP2 Preferred Agent to set and/or change the default thresholds related to its position, setting the values for - Lower Position; - Base Position; - Upper Position; - Reset to base position flag for each LAC of each TARGET day of the week.

 

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", "effectiveDate": "2019-06-21" }

Curl
curl -X PUT 'https://sandbox.swift.com/ebacl-step2-cgs/v1/setDefaultAgenda/: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","defaultDailyThresholds":[{"day":5,"lacDefaultAgenda":[{"lacNumber":"9","lowerPosition":999999999999999,"basePosition":999999999999999,"upperPosition":999999999999999,"resetToBasePos":true}]}]}'

ENDPOINTS