Overview
Summary
Contact
Donate
Imprint
Prompt for the
MarketView
Please create a React-JS view called "MarketView" for the fields of the Market entity. The MarketView must contain the following fields: - name: City type: City - name: Country type: Country - name: IsKeyMarket type: BOOL - name: RegionName type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [City] select control should be loaded from the relative URL: "/ListingService/city" (HTTP-GET) An existing Market entity should be loaded from the relative URL: "/MarketService/market/{id}" (HTTP-GET) If a new Market entity has been created, the new entity should be posted to the relative URL: "/MarketService/market" (HTTP-POST) If an existing Market entity has been updated, the modified entity should be sent to the relative URL: "/MarketService/market/{id}" (HTTP-PUT) If an existing Market entity has to be deleted, the following relative URL should be called: "/MarketService/market/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CovidImpact columns: - column: PeriodEnd - column: MetricType - column: Company - column: Market - column: Currency - column: Notes - column: Value - column: PeriodStart The table should have the title "CovidImpacts" und the data must be loaded from the server with the following relative URL: "/MarketService/covidimpact/market/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint