Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ZaehlerschrankView
Please create a React-JS view called "ZaehlerschrankView" for the fields of the Zaehlerschrank entity. The ZaehlerschrankView must contain the following fields: - name: Beschreibung type: STRING - name: Gebaeude type: Gebaeude - name: Hausanschluss type: Hausanschluss - name: Schranktyp type: STRING - name: Standortbeschreibung type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) The data source for the [Hausanschluss] select control should be loaded from the relative URL: "/GebaeudeService/hausanschluss" (HTTP-GET) An existing Zaehlerschrank entity should be loaded from the relative URL: "/StromkreisService/zaehlerschrank/{id}" (HTTP-GET) If a new Zaehlerschrank entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/zaehlerschrank" (HTTP-POST) If an existing Zaehlerschrank entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/zaehlerschrank/{id}" (HTTP-PUT) If an existing Zaehlerschrank entity has to be deleted, the following relative URL should be called: "/StromkreisService/zaehlerschrank/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zaehler columns: - column: Beschreibung - column: Seriennummer - column: Einbaudatum - column: Tarifmodell - column: Zaehlerschrank - column: Zaehlertyp - column: AusbauDatum The table should have the title "Zaehlers" und the data must be loaded from the server with the following relative URL: "/StromkreisService/zaehler/zaehlerschrank/{id}" Add a HTML table to the view with the following Verteiler columns: - column: Name - column: Gebaeude - column: Nutzungseinheit - column: Standortbeschreibung - column: Verteilertyp - column: Beschreibung - column: Schutzart - column: Zaehlerschrank The table should have the title "Verteilers" und the data must be loaded from the server with the following relative URL: "/StromkreisService/verteiler/zaehlerschrank/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum