Overview
Summary
Contact
Donate
Imprint
Prompt for the
ChargingNetworkView
Please create a React-JS view called "ChargingNetworkView" for the fields of the ChargingNetwork entity. The ChargingNetworkView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: LaunchYear type: INT - name: NetworkName type: STRING - name: NetworkType type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing ChargingNetwork entity should be loaded from the relative URL: "/BusinessSegmentService/chargingnetwork/{id}" (HTTP-GET) If a new ChargingNetwork entity has been created, the new entity should be posted to the relative URL: "/BusinessSegmentService/chargingnetwork" (HTTP-POST) If an existing ChargingNetwork entity has been updated, the modified entity should be sent to the relative URL: "/BusinessSegmentService/chargingnetwork/{id}" (HTTP-PUT) If an existing ChargingNetwork entity has to be deleted, the following relative URL should be called: "/BusinessSegmentService/chargingnetwork/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ChargingLocation columns: - column: LocationName - column: ConnectorCount - column: Notes - column: ChargingNetwork - column: City - column: OpeningYear - column: StationCount The table should have the title "ChargingLocations" und the data must be loaded from the server with the following relative URL: "/BusinessSegmentService/charginglocation/chargingnetwork/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint