Class Class18PowerOfAttorneyCashToken2StepsApi

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

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

    • Class18PowerOfAttorneyCashToken2StepsApi

      public Class18PowerOfAttorneyCashToken2StepsApi()
    • Class18PowerOfAttorneyCashToken2StepsApi

      public Class18PowerOfAttorneyCashToken2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPOA

      public AccountmanagementCreateInstructOnBehalfResponse createPOA(@Nonnull String ncb, @Nonnull AccountmanagementCreateInstructOnBehalf accountmanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException
      Submit Power Of Attorney Creation Request ## Description Submits a draft request to create a new Cash Token Instruct On Behalf on a specific Dedicated Cash Wallet. 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 Mapping: - \"maximumAmount\" = Authorised Amount Per Transaction - \"walletAlias\" = Dedicated Cash Wallet Identifier - \"walletOwnerID\" = Grantor DedicatedCashWalletOwner BIC - \"walletManagerID\" = Grantor DedicatedCashWalletManager BIC - \"poaEntityID\" = Authorised DedicatedCashWalletOwner BIC - Field Rules: - \"walletOwnerID\" shall not contain a DedicatedCashWalletManager BIC - \"poaEntityID\" shall not be the same as \"walletOwnerID\" - \"poaEntityID\" shall not contain a DedicatedCashWalletManager 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
      accountmanagementCreateInstructOnBehalf - Create Power Of Attorney Draft
      Returns:
      AccountmanagementCreateInstructOnBehalfResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createPOAWithHttpInfo

      public org.springframework.http.ResponseEntity<AccountmanagementCreateInstructOnBehalfResponse> createPOAWithHttpInfo(@Nonnull String ncb, @Nonnull AccountmanagementCreateInstructOnBehalf accountmanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException
      Submit Power Of Attorney Creation Request ## Description Submits a draft request to create a new Cash Token Instruct On Behalf on a specific Dedicated Cash Wallet. 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 Mapping: - \"maximumAmount\" = Authorised Amount Per Transaction - \"walletAlias\" = Dedicated Cash Wallet Identifier - \"walletOwnerID\" = Grantor DedicatedCashWalletOwner BIC - \"walletManagerID\" = Grantor DedicatedCashWalletManager BIC - \"poaEntityID\" = Authorised DedicatedCashWalletOwner BIC - Field Rules: - \"walletOwnerID\" shall not contain a DedicatedCashWalletManager BIC - \"poaEntityID\" shall not be the same as \"walletOwnerID\" - \"poaEntityID\" shall not contain a DedicatedCashWalletManager 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
      accountmanagementCreateInstructOnBehalf - Create Power Of Attorney Draft
      Returns:
      ResponseEntity<AccountmanagementCreateInstructOnBehalfResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createPOAWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec createPOAWithResponseSpec(@Nonnull String ncb, @Nonnull AccountmanagementCreateInstructOnBehalf accountmanagementCreateInstructOnBehalf) throws org.springframework.web.client.RestClientResponseException
      Submit Power Of Attorney Creation Request ## Description Submits a draft request to create a new Cash Token Instruct On Behalf on a specific Dedicated Cash Wallet. 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 Mapping: - \"maximumAmount\" = Authorised Amount Per Transaction - \"walletAlias\" = Dedicated Cash Wallet Identifier - \"walletOwnerID\" = Grantor DedicatedCashWalletOwner BIC - \"walletManagerID\" = Grantor DedicatedCashWalletManager BIC - \"poaEntityID\" = Authorised DedicatedCashWalletOwner BIC - Field Rules: - \"walletOwnerID\" shall not contain a DedicatedCashWalletManager BIC - \"poaEntityID\" shall not be the same as \"walletOwnerID\" - \"poaEntityID\" shall not contain a DedicatedCashWalletManager 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
      accountmanagementCreateInstructOnBehalf - Create Power Of Attorney Draft
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getPOADraftById

      public AccountmanagementCreateInstructOnBehalfResponse getPOADraftById(@Nonnull String ncb, @Nonnull String id, @Nonnull String managerid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Power Of Attorney Creation Draft by ID - Retrieves a PoA 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 - POA Draft ID
      managerid - DedicatedCashWalletManager BIC
      Returns:
      AccountmanagementCreateInstructOnBehalfResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getPOADraftByIdWithHttpInfo

      public org.springframework.http.ResponseEntity<AccountmanagementCreateInstructOnBehalfResponse> getPOADraftByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String managerid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Power Of Attorney Creation Draft by ID - Retrieves a PoA 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 - POA Draft ID
      managerid - DedicatedCashWalletManager BIC
      Returns:
      ResponseEntity<AccountmanagementCreateInstructOnBehalfResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getPOADraftByIdWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec getPOADraftByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String managerid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Power Of Attorney Creation Draft by ID - Retrieves a PoA 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 - POA Draft ID
      managerid - DedicatedCashWalletManager BIC
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updatePOADraftStatus

      public String updatePOADraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateInstructOnBehalfResponse accountmanagementCreateInstructOnBehalfResponse) throws org.springframework.web.client.RestClientResponseException
      Update Power Of Attorney Creation Draft Status ## Description Submit update of an existing Cash Token Power of Attorney 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 - Power of Attorney Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Power of Attorney Draft ID
      status - Power of Attorney Draft Status
      accountmanagementCreateInstructOnBehalfResponse - Update Power of Attorney Draft Status
      Returns:
      String
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updatePOADraftStatusWithHttpInfo

      public org.springframework.http.ResponseEntity<String> updatePOADraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateInstructOnBehalfResponse accountmanagementCreateInstructOnBehalfResponse) throws org.springframework.web.client.RestClientResponseException
      Update Power Of Attorney Creation Draft Status ## Description Submit update of an existing Cash Token Power of Attorney 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 - Power of Attorney Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Power of Attorney Draft ID
      status - Power of Attorney Draft Status
      accountmanagementCreateInstructOnBehalfResponse - Update Power of Attorney Draft Status
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updatePOADraftStatusWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec updatePOADraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull AccountmanagementCreateInstructOnBehalfResponse accountmanagementCreateInstructOnBehalfResponse) throws org.springframework.web.client.RestClientResponseException
      Update Power Of Attorney Creation Draft Status ## Description Submit update of an existing Cash Token Power of Attorney 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 - Power of Attorney Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

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