Class Class17Whitelisting2StepsApi

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

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

    • Class17Whitelisting2StepsApi

      public Class17Whitelisting2StepsApi()
    • Class17Whitelisting2StepsApi

      public Class17Whitelisting2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createWhitelist

      public GlobalregistryMarketDLTOperatorWhitelistResponse createWhitelist(@Nonnull String ncb, @Nonnull GlobalregistryCreateMarketDLTOperatorWhitelist globalregistryCreateMarketDLTOperatorWhitelist) throws org.springframework.web.client.RestClientResponseException
      Submit Market DLT Operator Whitelist Request ## Description Submit a draft request to create a new Market DLT Operator Whitelist for the specified Participant identified by its 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: - DedicatedCashWalletManager 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 two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Market DLT Operator Whitelist Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"managerID\" = DedicatedCashWalletManager BIC - \"marketDLTOperatorID\" = Market DLT Operator Identifier - \"marketDLTPlatformID\" = Market DLT Platform Identifier - \"participantID\" = DedicatedCashWalletOwner BIC ## Field Rules - \"marketDLTOperatorID\" shall contain a declared Market DLT operator - \"marketDLTPlatformID\" shall match prefix of \"marketDLTOperatorID\" - \"participantID\" shall be managed by \"managerID\" - \"managerID\" must match authenticated user's orgnaisation ## 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 - Reference Documents: - Service Description Document - Whitelists - Section 3.4.7 - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      globalregistryCreateMarketDLTOperatorWhitelist - Create MarketDLTOperator whitelist
      Returns:
      GlobalregistryMarketDLTOperatorWhitelistResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createWhitelistWithHttpInfo

      public org.springframework.http.ResponseEntity<GlobalregistryMarketDLTOperatorWhitelistResponse> createWhitelistWithHttpInfo(@Nonnull String ncb, @Nonnull GlobalregistryCreateMarketDLTOperatorWhitelist globalregistryCreateMarketDLTOperatorWhitelist) throws org.springframework.web.client.RestClientResponseException
      Submit Market DLT Operator Whitelist Request ## Description Submit a draft request to create a new Market DLT Operator Whitelist for the specified Participant identified by its 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: - DedicatedCashWalletManager 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 two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Market DLT Operator Whitelist Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"managerID\" = DedicatedCashWalletManager BIC - \"marketDLTOperatorID\" = Market DLT Operator Identifier - \"marketDLTPlatformID\" = Market DLT Platform Identifier - \"participantID\" = DedicatedCashWalletOwner BIC ## Field Rules - \"marketDLTOperatorID\" shall contain a declared Market DLT operator - \"marketDLTPlatformID\" shall match prefix of \"marketDLTOperatorID\" - \"participantID\" shall be managed by \"managerID\" - \"managerID\" must match authenticated user's orgnaisation ## 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 - Reference Documents: - Service Description Document - Whitelists - Section 3.4.7 - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      globalregistryCreateMarketDLTOperatorWhitelist - Create MarketDLTOperator whitelist
      Returns:
      ResponseEntity<GlobalregistryMarketDLTOperatorWhitelistResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createWhitelistWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec createWhitelistWithResponseSpec(@Nonnull String ncb, @Nonnull GlobalregistryCreateMarketDLTOperatorWhitelist globalregistryCreateMarketDLTOperatorWhitelist) throws org.springframework.web.client.RestClientResponseException
      Submit Market DLT Operator Whitelist Request ## Description Submit a draft request to create a new Market DLT Operator Whitelist for the specified Participant identified by its 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: - DedicatedCashWalletManager 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 two different authenticated users Status Preconditions: - Not applicable for creation ## Request Semantics - The request creates a new Market DLT Operator Whitelist Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"managerID\" = DedicatedCashWalletManager BIC - \"marketDLTOperatorID\" = Market DLT Operator Identifier - \"marketDLTPlatformID\" = Market DLT Platform Identifier - \"participantID\" = DedicatedCashWalletOwner BIC ## Field Rules - \"marketDLTOperatorID\" shall contain a declared Market DLT operator - \"marketDLTPlatformID\" shall match prefix of \"marketDLTOperatorID\" - \"participantID\" shall be managed by \"managerID\" - \"managerID\" must match authenticated user's orgnaisation ## 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 - Reference Documents: - Service Description Document - Whitelists - Section 3.4.7 - Service Description Document - A2A Illustration - Section 3.7

      201 - Created

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      globalregistryCreateMarketDLTOperatorWhitelist - Create MarketDLTOperator whitelist
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getWhitelistById

      public GlobalregistryMarketDLTOperatorWhitelist getWhitelistById(@Nonnull String ncb, @Nonnull String managerid, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Whitelist by ID ## Description Retrieves a Whitelist for a Market DLT Operator based on its Whitelist Identifier and DedicatedCashWalletManager BIC. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - NationalCashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day ## Response Semantics - Returns the queried Market DLT Operator Whitelist ## Traceability - Reference Documents: - Service Description Document - Queries - Section 3.6.1 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      managerid - DedicatedCashWalletManager BIC
      id - Whitelist ID
      Returns:
      GlobalregistryMarketDLTOperatorWhitelist
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getWhitelistByIdWithHttpInfo

      public org.springframework.http.ResponseEntity<GlobalregistryMarketDLTOperatorWhitelist> getWhitelistByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String managerid, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Whitelist by ID ## Description Retrieves a Whitelist for a Market DLT Operator based on its Whitelist Identifier and DedicatedCashWalletManager BIC. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - NationalCashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day ## Response Semantics - Returns the queried Market DLT Operator Whitelist ## Traceability - Reference Documents: - Service Description Document - Queries - Section 3.6.1 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      managerid - DedicatedCashWalletManager BIC
      id - Whitelist ID
      Returns:
      ResponseEntity<GlobalregistryMarketDLTOperatorWhitelist>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getWhitelistByIdWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec getWhitelistByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String managerid, @Nonnull String id) throws org.springframework.web.client.RestClientResponseException
      Retrieve Whitelist by ID ## Description Retrieves a Whitelist for a Market DLT Operator based on its Whitelist Identifier and DedicatedCashWalletManager BIC. ## Business Rules Authorised Actors: - DedicatedCashWalletManager - NationalCashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day ## Response Semantics - Returns the queried Market DLT Operator Whitelist ## Traceability - Reference Documents: - Service Description Document - Queries - Section 3.6.1 - Service Description Document - A2A Illustration - Section 3.7

      200 - OK

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      managerid - DedicatedCashWalletManager BIC
      id - Whitelist ID
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateWhitelistDraftStatus

      public String updateWhitelistDraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryMarketDLTOperatorWhitelistResponse globalregistryMarketDLTOperatorWhitelistResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market DLT Operator Whitelist Draft Status ## Description Submit update of an existing Market DLT Operator Whitelist 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 - Whitelist Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market DLT Operator Whitelist Draft ID
      status - Whitelist Draft status
      globalregistryMarketDLTOperatorWhitelistResponse - Update Whitelist Draft Status
      Returns:
      String
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateWhitelistDraftStatusWithHttpInfo

      public org.springframework.http.ResponseEntity<String> updateWhitelistDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryMarketDLTOperatorWhitelistResponse globalregistryMarketDLTOperatorWhitelistResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market DLT Operator Whitelist Draft Status ## Description Submit update of an existing Market DLT Operator Whitelist 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 - Whitelist Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market DLT Operator Whitelist Draft ID
      status - Whitelist Draft status
      globalregistryMarketDLTOperatorWhitelistResponse - Update Whitelist Draft Status
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateWhitelistDraftStatusWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec updateWhitelistDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryMarketDLTOperatorWhitelistResponse globalregistryMarketDLTOperatorWhitelistResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market DLT Operator Whitelist Draft Status ## Description Submit update of an existing Market DLT Operator Whitelist 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 - Whitelist Draft Status Updated

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market DLT Operator Whitelist Draft ID
      status - Whitelist Draft status
      globalregistryMarketDLTOperatorWhitelistResponse - Update Whitelist Draft Status
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API