Class Class01MarketParticipantOnboarding2StepsApi

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

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

    • Class01MarketParticipantOnboarding2StepsApi

      public Class01MarketParticipantOnboarding2StepsApi()
    • Class01MarketParticipantOnboarding2StepsApi

      public Class01MarketParticipantOnboarding2StepsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createMarketParticipant

      public GlobalregistryCreateEntityResponse createMarketParticipant(@Nonnull String ncb, @Nonnull GlobalregistryCreateEntity globalregistryCreateEntity) throws org.springframework.web.client.RestClientResponseException
      Submit Market Participant Creation Request ## Description Submit a draft request to create a new Market Participant Entity for the specified Market 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 Participant Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"entityID\" = Market Participant BIC - \"entityIDType\" = Market Participant Identifier Type - \"name\" = Market Participant Full Long Name - \"rolesTable\" = Market Participant Granted Role ## Field Rules - \"entityID\" shall contain a valid RTGS BIC from which liquidity will be debited - \"rolesTable\" shall only contain DedicatedCashWalletOwner role - \"entityIDType\" shall only contain BIC type ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Market Participants - Section 3.4.2 - 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
      globalregistryCreateEntity - Add Entity
      Returns:
      GlobalregistryCreateEntityResponse
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createMarketParticipantWithHttpInfo

      public org.springframework.http.ResponseEntity<GlobalregistryCreateEntityResponse> createMarketParticipantWithHttpInfo(@Nonnull String ncb, @Nonnull GlobalregistryCreateEntity globalregistryCreateEntity) throws org.springframework.web.client.RestClientResponseException
      Submit Market Participant Creation Request ## Description Submit a draft request to create a new Market Participant Entity for the specified Market 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 Participant Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"entityID\" = Market Participant BIC - \"entityIDType\" = Market Participant Identifier Type - \"name\" = Market Participant Full Long Name - \"rolesTable\" = Market Participant Granted Role ## Field Rules - \"entityID\" shall contain a valid RTGS BIC from which liquidity will be debited - \"rolesTable\" shall only contain DedicatedCashWalletOwner role - \"entityIDType\" shall only contain BIC type ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Market Participants - Section 3.4.2 - 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
      globalregistryCreateEntity - Add Entity
      Returns:
      ResponseEntity<GlobalregistryCreateEntityResponse>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • createMarketParticipantWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec createMarketParticipantWithResponseSpec(@Nonnull String ncb, @Nonnull GlobalregistryCreateEntity globalregistryCreateEntity) throws org.springframework.web.client.RestClientResponseException
      Submit Market Participant Creation Request ## Description Submit a draft request to create a new Market Participant Entity for the specified Market 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 Participant Creation Draft in PENDING_APPROVAL status - The created draft remains in PENDING_APPROVAL status until validated by an Authorised second user ## Field Mapping - \"entityID\" = Market Participant BIC - \"entityIDType\" = Market Participant Identifier Type - \"name\" = Market Participant Full Long Name - \"rolesTable\" = Market Participant Granted Role ## Field Rules - \"entityID\" shall contain a valid RTGS BIC from which liquidity will be debited - \"rolesTable\" shall only contain DedicatedCashWalletOwner role - \"entityIDType\" shall only contain BIC type ## Response Semantics - Returns confirmation of the draft creation and the draft content to be used in subsequent draft status updates (approve | cancel). - The draft includes the ID needed to approve ## Traceability - Reference Documents: - Service Description Document - Market Participants - Section 3.4.2 - 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
      globalregistryCreateEntity - Add Entity
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getParticipantById

      public GlobalregistryEntity getParticipantById(@Nonnull String ncb, @Nonnull String entityid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Participant by ID ## Description Retrieves a Participant based on its identifier. This endpoint can also be used to retrieve an Entity Creation Draft for use in subsequent draft status updates. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - DedicatedCashWalletManager - NationalCashTokenSupervisor - CashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - ADMIN_USER - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object can be in PENDING_APPROVAL or ACCEPTED status ## Response Semantics - Returns the queried Participant Entity or Entity Draft ## 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

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      entityid - Participant BIC
      Returns:
      GlobalregistryEntity
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getParticipantByIdWithHttpInfo

      public org.springframework.http.ResponseEntity<GlobalregistryEntity> getParticipantByIdWithHttpInfo(@Nonnull String ncb, @Nonnull String entityid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Participant by ID ## Description Retrieves a Participant based on its identifier. This endpoint can also be used to retrieve an Entity Creation Draft for use in subsequent draft status updates. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - DedicatedCashWalletManager - NationalCashTokenSupervisor - CashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - ADMIN_USER - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object can be in PENDING_APPROVAL or ACCEPTED status ## Response Semantics - Returns the queried Participant Entity or Entity Draft ## 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

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      entityid - Participant BIC
      Returns:
      ResponseEntity<GlobalregistryEntity>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • getParticipantByIdWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec getParticipantByIdWithResponseSpec(@Nonnull String ncb, @Nonnull String entityid) throws org.springframework.web.client.RestClientResponseException
      Retrieve Participant by ID ## Description Retrieves a Participant based on its identifier. This endpoint can also be used to retrieve an Entity Creation Draft for use in subsequent draft status updates. ## Business Rules Authorised Actors: - DedicatedCashWalletOwner - DedicatedCashWalletManager - NationalCashTokenSupervisor - CashTokenSupervisor - Operator Authorised Profiles: - PILOT_READ_WRITE - PILOT_READ_ONLY - REFERENTIAL_READ_WRITE - REFERENTIAL_READ_ONLY - ADMIN_USER - OPERATIONAL_READ_WRITE Business Window: - Start of day - Open for all - End of day Status Preconditions: - The retrieved object can be in PENDING_APPROVAL or ACCEPTED status ## Response Semantics - Returns the queried Participant Entity or Entity Draft ## 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

      404 - Not Found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      entityid - Participant BIC
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateMarketParticipantDraftStatus

      public String updateMarketParticipantDraftStatus(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryCreateEntityResponse globalregistryCreateEntityResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market Participant Creation Draft Status ## Description Submit update of an existing Market Participant 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 - Entity Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market Participant BIC
      status - Draft Status
      globalregistryCreateEntityResponse - Update Entity Draft
      Returns:
      String
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateMarketParticipantDraftStatusWithHttpInfo

      public org.springframework.http.ResponseEntity<String> updateMarketParticipantDraftStatusWithHttpInfo(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryCreateEntityResponse globalregistryCreateEntityResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market Participant Creation Draft Status ## Description Submit update of an existing Market Participant 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 - Entity Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market Participant BIC
      status - Draft Status
      globalregistryCreateEntityResponse - Update Entity Draft
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • updateMarketParticipantDraftStatusWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec updateMarketParticipantDraftStatusWithResponseSpec(@Nonnull String ncb, @Nonnull String id, @Nonnull String status, @Nonnull GlobalregistryCreateEntityResponse globalregistryCreateEntityResponse) throws org.springframework.web.client.RestClientResponseException
      Update Market Participant Creation Draft Status ## Description Submit update of an existing Market Participant 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 - Entity Draft Updated Successfully

      400 - Bad Request

      401 - Unauthorized

      403 - Forbidden

      404 - Not found

      500 - Internal Server Error

      Parameters:
      ncb - NCB Short Name
      id - Market Participant BIC
      status - Draft Status
      globalregistryCreateEntityResponse - Update Entity Draft
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API