Class Class19InstructOnBehalfDirectRtgs2StepsApi

java.lang.Object
net.finmath.smartbonds.pontes.api.Class19InstructOnBehalfDirectRtgs2StepsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class Class19InstructOnBehalfDirectRtgs2StepsApi extends Object
  • Constructor Details

    • Class19InstructOnBehalfDirectRtgs2StepsApi

      public Class19InstructOnBehalfDirectRtgs2StepsApi()
    • Class19InstructOnBehalfDirectRtgs2StepsApi

      public Class19InstructOnBehalfDirectRtgs2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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.7

      201 - Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      triggermanagementCreateInstructOnBehalf - 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.7

      201 - Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      triggermanagementCreateInstructOnBehalf - 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.7

      201 - Draft Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      triggermanagementCreateInstructOnBehalf - 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 Name
      id - 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 Name
      id - 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 Name
      id - 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.7

      200 - Instruct On Behalf Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Instruct On Behalf Draft ID
      status - Instruct On Behalf Draft Status
      triggermanagementInstructOnBehalf - 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.7

      200 - Instruct On Behalf Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Instruct On Behalf Draft ID
      status - Instruct On Behalf Draft Status
      triggermanagementInstructOnBehalf - 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.7

      200 - Instruct On Behalf Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Instruct On Behalf Draft ID
      status - Instruct On Behalf Draft Status
      triggermanagementInstructOnBehalf - Update Instruct On Behalf Draft Status
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API