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