Logo
Swift API Sandbox Collections API Documentation

A Participant can insert one AP, linked to him.

PUT {{baseUrl}}/insertAP/:senderBic

The InsertAP request allows the Participant to add a new AP that it wants to manage in the SCT Inst. The Product is optional in both request and response; the system automatically associates the default Product “INST” to each AP that is added by the Participant. The positive response contains the ReferenceId of the take in charge request for change by the system, but the effective modification of the master data has not been executed yet. Application will only take place after final authorization of the Dual Control by EBA CLEARING. The ReferenceId can be subsequently used in the CommandStatusInquiry request to get the status of the submitted command, see ref. 1.1. 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.

 

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", "referenceId": "eu Duis n" }

Curl
curl -X PUT 'https://sandbox.swift.com/ebacl-rt1/v1/insertAP/: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":{"bicAp":"IPSDID21XXX","name":"$","tipsUserBic":"IPSDID21XXX","initParticipantValidity":"2019-06-21","endParticipantValidity":"2019-06-21","submittedAOS":"A","product":"0","admissionProfile":"Lo","bbPositiveCnf":"0","bbTimeoutMgm":"1"}}'

ENDPOINTS