Overview
Summary
Contact
Donate
Imprint
Prompt for the
VehicleSpecificationView
Please create a React-JS view called "VehicleSpecificationView" for the fields of the VehicleSpecification entity. The VehicleSpecificationView must contain the following fields: - name: BatteryWeightKg type: INT - name: CurbWeightKg type: INT - name: DriveType type: STRING - name: EndYear type: INT - name: HeightMm type: INT - name: LengthMm type: INT - name: MarketRegion type: STRING - name: RangeKm type: INT - name: Seats type: INT - name: SpecVersionName type: STRING - name: StartYear type: INT - name: TopSpeedKmh type: INT - name: VehicleModel type: VehicleModel - name: WidthMm type: INT - name: ZeroToHundredKmhSeconds type: DOUBLE The data source for the [VehicleModel] select control should be loaded from the relative URL: "/VehicleModelService/vehiclemodel" (HTTP-GET) An existing VehicleSpecification entity should be loaded from the relative URL: "/CityService/vehiclespecification/{id}" (HTTP-GET) If a new VehicleSpecification entity has been created, the new entity should be posted to the relative URL: "/CityService/vehiclespecification" (HTTP-POST) If an existing VehicleSpecification entity has been updated, the modified entity should be sent to the relative URL: "/CityService/vehiclespecification/{id}" (HTTP-PUT) If an existing VehicleSpecification entity has to be deleted, the following relative URL should be called: "/CityService/vehiclespecification/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint