Overview
Summary
Contact
Donate
Imprint
Prompt for the
PortfolioView
Please create a React-JS view called "PortfolioView" for the fields of the Portfolio entity. The PortfolioView must contain the following fields: - name: AladdinSystem type: AladdinSystem - name: BaseCurrency type: STRING - name: Description type: STRING - name: InstitutionalInvestor type: InstitutionalInvestor - name: ManagedByOrganization type: Organization - name: Name type: STRING - name: TotalValue type: STRING The data source for the [InstitutionalInvestor] select control should be loaded from the relative URL: "/OrganizationService/institutionalinvestor" (HTTP-GET) The data source for the [AladdinSystem] select control should be loaded from the relative URL: "/AladdinSystemService/aladdinsystem" (HTTP-GET) The data source for the [ManagedByOrganization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) An existing Portfolio entity should be loaded from the relative URL: "/OrganizationService/portfolio/{id}" (HTTP-GET) If a new Portfolio entity has been created, the new entity should be posted to the relative URL: "/OrganizationService/portfolio" (HTTP-POST) If an existing Portfolio entity has been updated, the modified entity should be sent to the relative URL: "/OrganizationService/portfolio/{id}" (HTTP-PUT) If an existing Portfolio entity has to be deleted, the following relative URL should be called: "/OrganizationService/portfolio/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StressTest columns: - column: AladdinSystem - column: Description - column: StressCategory - column: ResultSummary - column: Portfolio - column: Scenario - column: MaxDrawdown - column: Name The table should have the title "StressTests" und the data must be loaded from the server with the following relative URL: "/ScenarioService/stresstest/portfolio/{id}" 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/portfolio/{id}" Add a HTML table to the view with the following SimulationRun columns: - column: Portfolio - column: ValueAtRisk - column: AladdinSystem - column: RunTimestamp - column: ResultSummary - column: ExpectedLoss - column: SimulationType - column: Scenario The table should have the title "SimulationRuns" und the data must be loaded from the server with the following relative URL: "/ScenarioService/simulationrun/portfolio/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint