Logo
Swift API Sandbox Collections API Documentation

A Participant can set one of its APs in R-Only or Disable status.

PUT {{baseUrl}}/changeStatusAP/:senderBic

The ChangeStatusAP request allows the Participant to change the status of an AP that it manages in the SCT Inst, to: - r-only (“RON”) if it was a valid AP (enabled) or to - Disabled (“DIS”) if it was an r-only AP. 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 negative response contains the Code 204 if no record satisfying the set criteria is found. 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/changeStatusAP/: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","newStatus":"","effectiveDate":"2019-06-21"}}'

ENDPOINTS