Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProductView
Please create a React-JS view called "ProductView" for the fields of the Product entity. The ProductView must contain the following fields: - name: BusinessSegment type: BusinessSegment - name: Company type: Company - name: Description type: STRING - name: DiscontinuedYear type: INT - name: LaunchYear type: INT - name: ProductName type: STRING - name: ProductType type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [BusinessSegment] select control should be loaded from the relative URL: "/BusinessSegmentService/businesssegment" (HTTP-GET) An existing Product entity should be loaded from the relative URL: "/CompanyService/product/{id}" (HTTP-GET) If a new Product entity has been created, the new entity should be posted to the relative URL: "/CompanyService/product" (HTTP-POST) If an existing Product entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/product/{id}" (HTTP-PUT) If an existing Product entity has to be deleted, the following relative URL should be called: "/CompanyService/product/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProductionSiteProduct columns: - column: StartYear - column: ProductionSite - column: EndYear - column: Product - column: Notes The table should have the title "ProductionSiteProducts" und the data must be loaded from the server with the following relative URL: "/CityService/productionsiteproduct/product/{id}" Add a HTML table to the view with the following VehicleModel columns: - column: ModelName - column: Notes - column: InitialRevealDate - column: GenerationName - column: BasePriceUsd - column: MarketSegment - column: ProductionStartYear - column: ProductionEndYear - column: Product - column: VehicleCategory The table should have the title "VehicleModels" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/vehiclemodel/product/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint