Overview
Summary
Contact
Donate
Imprint
Prompt for the
FinancialProductApp
Please create a React-JS application for the FinancialProductModule. The application has to offer the following views for the user interface: 1. AssetClassView 2. FinancialProductView 3. MandateInstrumentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The AssetClassView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing AssetClass entity should be loaded from the relative URL: "/FinancialProductService/assetclass/{id}" (HTTP-GET) If a new AssetClass entity has been created, the new entity should be posted to the relative URL: "/FinancialProductService/assetclass" (HTTP-POST) If an existing AssetClass entity has been updated, the modified entity should be sent to the relative URL: "/FinancialProductService/assetclass/{id}" (HTTP-PUT) If an existing AssetClass entity has to be deleted, the following relative URL should be called: "/FinancialProductService/assetclass/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FinancialProduct columns: - column: ProductType - column: AssetClass - column: Currency - column: Isin - column: Name - column: Ticker - column: Description The table should have the title "FinancialProducts" und the data must be loaded from the server with the following relative URL: "/FinancialProductService/financialproduct/assetclass/{id}" 2. The FinancialProductView must contain the following fields: - name: AssetClass type: AssetClass - name: Currency type: STRING - name: Description type: STRING - name: Isin type: STRING - name: Name type: STRING - name: ProductType type: STRING - name: Ticker type: STRING The data source for the [AssetClass] select control should be loaded from the relative URL: "/FinancialProductService/assetclass" (HTTP-GET) An existing FinancialProduct entity should be loaded from the relative URL: "/FinancialProductService/financialproduct/{id}" (HTTP-GET) If a new FinancialProduct entity has been created, the new entity should be posted to the relative URL: "/FinancialProductService/financialproduct" (HTTP-POST) If an existing FinancialProduct entity has been updated, the modified entity should be sent to the relative URL: "/FinancialProductService/financialproduct/{id}" (HTTP-PUT) If an existing FinancialProduct entity has to be deleted, the following relative URL should be called: "/FinancialProductService/financialproduct/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PortfolioHolding columns: - column: Quantity - column: Portfolio - column: FinancialProduct - column: MarketValue - column: ValuationDate The table should have the title "PortfolioHoldings" und the data must be loaded from the server with the following relative URL: "/OrganizationService/portfolioholding/financialproduct/{id}" Add a HTML table to the view with the following MandateInstrument columns: - column: NotionalValue - column: GovernmentMandate - column: Currency - column: FinancialProduct - column: Description The table should have the title "MandateInstruments" und the data must be loaded from the server with the following relative URL: "/FinancialProductService/mandateinstrument/financialproduct/{id}" 3. The MandateInstrumentView must contain the following fields: - name: Currency type: STRING - name: Description type: STRING - name: FinancialProduct type: FinancialProduct - name: GovernmentMandate type: GovernmentMandate - name: NotionalValue type: STRING The data source for the [FinancialProduct] select control should be loaded from the relative URL: "/FinancialProductService/financialproduct" (HTTP-GET) The data source for the [GovernmentMandate] select control should be loaded from the relative URL: "/GovernmentMandateService/governmentmandate" (HTTP-GET) An existing MandateInstrument entity should be loaded from the relative URL: "/FinancialProductService/mandateinstrument/{id}" (HTTP-GET) If a new MandateInstrument entity has been created, the new entity should be posted to the relative URL: "/FinancialProductService/mandateinstrument" (HTTP-POST) If an existing MandateInstrument entity has been updated, the modified entity should be sent to the relative URL: "/FinancialProductService/mandateinstrument/{id}" (HTTP-PUT) If an existing MandateInstrument entity has to be deleted, the following relative URL should be called: "/FinancialProductService/mandateinstrument/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint