Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NutzungseinheitApp
Please create a React-JS application for the NutzungseinheitModule. The application has to offer the following views for the user interface: 1. NutzungseinheitView 2. QualifikationView 3. RaumView 4. VerbraucherView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The NutzungseinheitView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Gebaeude type: Gebaeude - name: Nutzungstyp type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) An existing Nutzungseinheit entity should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit/{id}" (HTTP-GET) If a new Nutzungseinheit entity has been created, the new entity should be posted to the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-POST) If an existing Nutzungseinheit entity has been updated, the modified entity should be sent to the relative URL: "/NutzungseinheitService/nutzungseinheit/{id}" (HTTP-PUT) If an existing Nutzungseinheit entity has to be deleted, the following relative URL should be called: "/NutzungseinheitService/nutzungseinheit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefung columns: - column: Beschreibung - column: Gebaeude - column: Pruefdatum - column: Nutzungseinheit - column: Pruefart - column: Ergebnis - column: Elektrofachkraft The table should have the title "Pruefungs" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/pruefung/nutzungseinheit/{id}" Add a HTML table to the view with the following Raum columns: - column: Name - column: Nutzungseinheit - column: Raumtyp - column: FlaecheQm - column: Beschreibung The table should have the title "Raums" und the data must be loaded from the server with the following relative URL: "/NutzungseinheitService/raum/nutzungseinheit/{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/nutzungseinheit/{id}" Add a HTML table to the view with the following Stromkreis columns: - column: Nummer - column: Stromkreisart - column: Nennspannung - column: Nutzungseinheit - column: Phasen - column: Verteiler - column: NennstromA - column: Name - column: Schutzorgan - column: Beschreibung The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/StromkreisService/stromkreis/nutzungseinheit/{id}" Add a HTML table to the view with the following Dokumentation columns: - column: Stromkreis - column: Beschreibung - column: DateiReferenz - column: Dokumenttyp - column: Titel - column: Nutzungseinheit - column: Erstellungsdatum - column: Gebaeude The table should have the title "Dokumentations" und the data must be loaded from the server with the following relative URL: "/GebaeudeService/dokumentation/nutzungseinheit/{id}" 2. The QualifikationView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Qualifikation entity should be loaded from the relative URL: "/NutzungseinheitService/qualifikation/{id}" (HTTP-GET) If a new Qualifikation entity has been created, the new entity should be posted to the relative URL: "/NutzungseinheitService/qualifikation" (HTTP-POST) If an existing Qualifikation entity has been updated, the modified entity should be sent to the relative URL: "/NutzungseinheitService/qualifikation/{id}" (HTTP-PUT) If an existing Qualifikation entity has to be deleted, the following relative URL should be called: "/NutzungseinheitService/qualifikation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ElektrofachkraftQualifikation columns: - column: Ablaufdatum - column: Qualifikation - column: Erwerbsdatum - column: Beschreibung - column: Elektrofachkraft The table should have the title "ElektrofachkraftQualifikations" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/elektrofachkraftqualifikation/qualifikation/{id}" 3. The RaumView must contain the following fields: - name: Beschreibung type: STRING - name: FlaecheQm type: DOUBLE - name: Name type: STRING - name: Nutzungseinheit type: Nutzungseinheit - name: Raumtyp type: STRING The data source for the [Nutzungseinheit] select control should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-GET) An existing Raum entity should be loaded from the relative URL: "/NutzungseinheitService/raum/{id}" (HTTP-GET) If a new Raum entity has been created, the new entity should be posted to the relative URL: "/NutzungseinheitService/raum" (HTTP-POST) If an existing Raum entity has been updated, the modified entity should be sent to the relative URL: "/NutzungseinheitService/raum/{id}" (HTTP-PUT) If an existing Raum entity has to be deleted, the following relative URL should be called: "/NutzungseinheitService/raum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abzweigdose columns: - column: Schutzart - column: Brandklasse - column: Standortbeschreibung - column: Raum - column: Dosentyp - column: Beschreibung The table should have the title "Abzweigdoses" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/abzweigdose/raum/{id}" Add a HTML table to the view with the following Installationsgeraet columns: - column: Abzweigdose - column: Geraetetyp - column: Stromkreis - column: Kennzeichnung - column: Installationsmethode - column: Beschreibung - column: Installationszone - column: Raum - column: HoeheCm - column: PositionBeschreibung The table should have the title "Installationsgeraets" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/installationsgeraet/raum/{id}" 4. The VerbraucherView must contain the following fields: - name: Anschlussart type: STRING - name: Beschreibung type: STRING - name: Installationsgeraet type: Installationsgeraet - name: Kategorie type: STRING - name: LeistungW type: DOUBLE - name: Name type: STRING - name: SpannungV type: LONG - name: Stromkreis type: Stromkreis The data source for the [Installationsgeraet] select control should be loaded from the relative URL: "/AbzweigdoseService/installationsgeraet" (HTTP-GET) The data source for the [Stromkreis] select control should be loaded from the relative URL: "/StromkreisService/stromkreis" (HTTP-GET) An existing Verbraucher entity should be loaded from the relative URL: "/NutzungseinheitService/verbraucher/{id}" (HTTP-GET) If a new Verbraucher entity has been created, the new entity should be posted to the relative URL: "/NutzungseinheitService/verbraucher" (HTTP-POST) If an existing Verbraucher entity has been updated, the modified entity should be sent to the relative URL: "/NutzungseinheitService/verbraucher/{id}" (HTTP-PUT) If an existing Verbraucher entity has to be deleted, the following relative URL should be called: "/NutzungseinheitService/verbraucher/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum