Class Class19InstructOnBehalfDirectRtgs2StepsApi
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreateInstructOnBehalf(String ncb, TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC.org.springframework.http.ResponseEntity<TriggermanagementInstructOnBehalf> createInstructOnBehalfWithHttpInfo(String ncb, TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC.org.springframework.web.client.RestClient.ResponseSpeccreateInstructOnBehalfWithResponseSpec(String ncb, TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC.getInstructOnBehalfDraftById(String ncb, String id) Retrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier.org.springframework.http.ResponseEntity<TriggermanagementInstructOnBehalf> Retrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier.org.springframework.web.client.RestClient.ResponseSpecRetrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier.voidsetApiClient(ApiClient apiClient) updateInstructOnBehalfDraftStatus(String ncb, String id, String status, TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created.org.springframework.http.ResponseEntity<String> updateInstructOnBehalfDraftStatusWithHttpInfo(String ncb, String id, String status, TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created.org.springframework.web.client.RestClient.ResponseSpecupdateInstructOnBehalfDraftStatusWithResponseSpec(String ncb, String id, String status, TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created.
-
Constructor Details
-
Class19InstructOnBehalfDirectRtgs2StepsApi
public Class19InstructOnBehalfDirectRtgs2StepsApi() -
Class19InstructOnBehalfDirectRtgs2StepsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createInstructOnBehalf
public TriggermanagementInstructOnBehalf createInstructOnBehalf(@Nonnull String ncb, @Nonnull TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules - Authorised Actors: - Dedicated Cash Wallet Manager - Authorised Profiles: - REFERENTIAL_READ_WRITE - Business Window: - Start of day - Open for all - End of day - Workflow: Two-Step Validation (Draft Creation) - Separation of Duties: - Initiator and Approver must be different authenticated users - Field Rules: - \"grantorParticipantBIC\" = DedicatedCashWalletManager BIC or Managed DedicatedCashWalletOwner BIC (same country code) - \"authorizedParticipantBIC\" = any Participant BIC ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to update ## Traceability - SDD References: - Service Description Document - Instruct On Behalf - Section 3.4.8 - Service Description Document - A2A Illustration - Section 3.7201 - Draft Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short NametriggermanagementCreateInstructOnBehalf- Create Instruct on behalf- Returns:
- TriggermanagementInstructOnBehalf
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
createInstructOnBehalfWithHttpInfo
public org.springframework.http.ResponseEntity<TriggermanagementInstructOnBehalf> createInstructOnBehalfWithHttpInfo(@Nonnull String ncb, @Nonnull TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules - Authorised Actors: - Dedicated Cash Wallet Manager - Authorised Profiles: - REFERENTIAL_READ_WRITE - Business Window: - Start of day - Open for all - End of day - Workflow: Two-Step Validation (Draft Creation) - Separation of Duties: - Initiator and Approver must be different authenticated users - Field Rules: - \"grantorParticipantBIC\" = DedicatedCashWalletManager BIC or Managed DedicatedCashWalletOwner BIC (same country code) - \"authorizedParticipantBIC\" = any Participant BIC ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to update ## Traceability - SDD References: - Service Description Document - Instruct On Behalf - Section 3.4.8 - Service Description Document - A2A Illustration - Section 3.7201 - Draft Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short NametriggermanagementCreateInstructOnBehalf- Create Instruct on behalf- Returns:
- ResponseEntity<TriggermanagementInstructOnBehalf>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
createInstructOnBehalfWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec createInstructOnBehalfWithResponseSpec(@Nonnull String ncb, @Nonnull TriggermanagementCreateInstructOnBehalf triggermanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Submit Instruct On Behalf Creation Request ## Description Submits a draft request to create a new Direct RTGS Instruct On Behalf on a specific Participant BIC. The request is processed under the two-step validation workflow and will only be executed once approved by an authorised second user. ## Business Rules - Authorised Actors: - Dedicated Cash Wallet Manager - Authorised Profiles: - REFERENTIAL_READ_WRITE - Business Window: - Start of day - Open for all - End of day - Workflow: Two-Step Validation (Draft Creation) - Separation of Duties: - Initiator and Approver must be different authenticated users - Field Rules: - \"grantorParticipantBIC\" = DedicatedCashWalletManager BIC or Managed DedicatedCashWalletOwner BIC (same country code) - \"authorizedParticipantBIC\" = any Participant BIC ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft include the ID needed to update ## Traceability - SDD References: - Service Description Document - Instruct On Behalf - Section 3.4.8 - Service Description Document - A2A Illustration - Section 3.7201 - Draft Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short NametriggermanagementCreateInstructOnBehalf- Create Instruct on behalf- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getInstructOnBehalfDraftById
public TriggermanagementInstructOnBehalf getInstructOnBehalfDraftById(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier. This endpoint is used to fetch a draft previously created via POST request, which can then be submitted to the draft status update operation (Approved, Pending Review, Cancelled) under the 2 steps validation workflow. ## User profiles - Only User profiles REFERENTIAL_READ_ONLY/REFERENTIAL_READ_WRITE can use this endpoint ## Business Windows Rules - Operation allowed on business windows: Start of day / Open for all / End of day ## Organisation roles - Only DedicatedCashWalletManager is allowed (results based on user entity)200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft ID- Returns:
- TriggermanagementInstructOnBehalf
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getInstructOnBehalfDraftByIdWithHttpInfo
public org.springframework.http.ResponseEntity<TriggermanagementInstructOnBehalf> getInstructOnBehalfDraftByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier. This endpoint is used to fetch a draft previously created via POST request, which can then be submitted to the draft status update operation (Approved, Pending Review, Cancelled) under the 2 steps validation workflow. ## User profiles - Only User profiles REFERENTIAL_READ_ONLY/REFERENTIAL_READ_WRITE can use this endpoint ## Business Windows Rules - Operation allowed on business windows: Start of day / Open for all / End of day ## Organisation roles - Only DedicatedCashWalletManager is allowed (results based on user entity)200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft ID- Returns:
- ResponseEntity<TriggermanagementInstructOnBehalf>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
getInstructOnBehalfDraftByIdWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec getInstructOnBehalfDraftByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException Retrieve Instruct On Behalf Creation Draft by ID - Retrieves a Instruct on Behalf draft based on its draft identifier. This endpoint is used to fetch a draft previously created via POST request, which can then be submitted to the draft status update operation (Approved, Pending Review, Cancelled) under the 2 steps validation workflow. ## User profiles - Only User profiles REFERENTIAL_READ_ONLY/REFERENTIAL_READ_WRITE can use this endpoint ## Business Windows Rules - Operation allowed on business windows: Start of day / Open for all / End of day ## Organisation roles - Only DedicatedCashWalletManager is allowed (results based on user entity)200 - OK
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft ID- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateInstructOnBehalfDraftStatus
public String updateInstructOnBehalfDraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE # Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - Instruct On Behalf Draft Status Updated
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft IDstatus- Instruct On Behalf Draft StatustriggermanagementInstructOnBehalf- Update Instruct On Behalf Draft Status- Returns:
- String
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateInstructOnBehalfDraftStatusWithHttpInfo
public org.springframework.http.ResponseEntity<String> updateInstructOnBehalfDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE # Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - Instruct On Behalf Draft Status Updated
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft IDstatus- Instruct On Behalf Draft StatustriggermanagementInstructOnBehalf- Update Instruct On Behalf Draft Status- Returns:
- ResponseEntity<String>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
updateInstructOnBehalfDraftStatusWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec updateInstructOnBehalfDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull TriggermanagementInstructOnBehalf triggermanagementInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException Update Instruct On Behalf Creation Draft Status ## Description Submit update of an existing Direct RTGS Instruct On Behalf Draft previously created. This endpoint is used to resubmit the draft with an updated status in order to continue the validation workflow or approve the request. ## Business Rules Authorised Actors: - DedicatedCashWalletManager Authorised Profiles: - REFERENTIAL_READ_WRITE # Business Window: - Start of day - Open for all - End of day Workflow: - Two-Step Validation (Draft Update) Separation of Duties: - Initiator and Approver must be two different authenticated users - \"approve\" status can only be performed by Approver - \"cancel\" status can only be performed by initiator. Status Preconditions: - The draft shall be in PENDING_APPROVAL status ## Request Semantics - The Payload is expected to contain the full draft as last created or retrieved, without any modifications - The {status} parameter indicates the requested business action on the draft: - {approve}: requests approval of the draft and validate it - {cancel}: removes the draft ## Response Semantics - A successful response confirms that the existing draft has been updated ## Traceability - Reference Documents: - Service Description Document - A2A Illustration - Section 3.7200 - Instruct On Behalf Draft Status Updated
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not found
500 - Internal Server Error
- Parameters:
ncb- NCB Short Nameid- Instruct On Behalf Draft IDstatus- Instruct On Behalf Draft StatustriggermanagementInstructOnBehalf- Update Instruct On Behalf Draft Status- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-