Overview
Summary
Contact
Donate
Imprint
Prompt for the
VehicleCategoryView
Please create a React-JS view called "VehicleCategoryView" for the fields of the VehicleCategory entity. The VehicleCategoryView must contain the following fields: - name: CategoryName type: STRING - name: Description type: STRING An existing VehicleCategory entity should be loaded from the relative URL: "/VehicleModelService/vehiclecategory/{id}" (HTTP-GET) If a new VehicleCategory entity has been created, the new entity should be posted to the relative URL: "/VehicleModelService/vehiclecategory" (HTTP-POST) If an existing VehicleCategory entity has been updated, the modified entity should be sent to the relative URL: "/VehicleModelService/vehiclecategory/{id}" (HTTP-PUT) If an existing VehicleCategory entity has to be deleted, the following relative URL should be called: "/VehicleModelService/vehiclecategory/{id}" (HTTP-DELETE) 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/vehiclecategory/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint