Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StromkreisView
Please create a React-JS view called "StromkreisView" for the fields of the Stromkreis entity. The StromkreisView must contain the following fields: - name: FrequenzHz type: STRING - name: KurzschlussstromMin type: STRING - name: MaxLaengeMeter type: STRING - name: Name type: STRING - name: Schaltkasten type: Schaltkasten - name: Spannung type: STRING The data source for the [Schaltkasten] select control should be loaded from the relative URL: "/GemeindeService/schaltkasten" (HTTP-GET) An existing Stromkreis entity should be loaded from the relative URL: "/GemeindeService/stromkreis/{id}" (HTTP-GET) If a new Stromkreis entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/stromkreis" (HTTP-POST) If an existing Stromkreis entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/stromkreis/{id}" (HTTP-PUT) If an existing Stromkreis entity has to be deleted, the following relative URL should be called: "/GemeindeService/stromkreis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leuchteninstallation columns: - column: Montagehoehe - column: IstAnGebaeude - column: Leuchte - column: Strassenbeleuchtungsanlage - column: Mast - column: IstAnBruecke - column: PositionUeberFahrbahn - column: AbstandMeter - column: Stromkreis - column: IstAnSeil The table should have the title "Leuchteninstallations" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/leuchteninstallation/stromkreis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum