Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SpannungsebeneApp
Please create a React-JS application for the SpannungsebeneModule. The application has to offer the following views for the user interface: 1. LeitungView 2. SpannungsebeneView 3. UmspannwerkSpannungsebeneView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The LeitungView must contain the following fields: - name: Bauart type: STRING - name: Beschreibung type: STRING - name: Kennung type: STRING - name: LaengeKm type: STRING - name: Name type: STRING - name: Spannungsebene type: Spannungsebene - name: Uebertragungsart type: STRING The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) An existing Leitung entity should be loaded from the relative URL: "/SpannungsebeneService/leitung/{id}" (HTTP-GET) If a new Leitung entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/leitung" (HTTP-POST) If an existing Leitung entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/leitung/{id}" (HTTP-PUT) If an existing Leitung entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/leitung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkLeitung columns: - column: Areal - column: Rolle - column: Leitung - column: Umspannwerk The table should have the title "UmspannwerkLeitungs" und the data must be loaded from the server with the following relative URL: "/StandortService/umspannwerkleitung/leitung/{id}" 2. The SpannungsebeneView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: SpannungMaxKv type: STRING - name: SpannungMinKv type: STRING - name: StandardNennspannungKv type: STRING An existing Spannungsebene entity should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-GET) If a new Spannungsebene entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-POST) If an existing Spannungsebene entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-PUT) If an existing Spannungsebene entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Transformator columns: - column: NennleistungMva - column: Umspannwerk - column: Areal - column: MitLaststufenschalter - column: MasseTonnen - column: Beschreibung - column: UntereSpannungsebene - column: Hersteller - column: Baujahr - column: Name - column: ObereSpannungsebene The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/transformator/unterespannungsebene/{id}" Add a HTML table to the view with the following Transformator columns: - column: NennleistungMva - column: Umspannwerk - column: Areal - column: MitLaststufenschalter - column: MasseTonnen - column: Beschreibung - column: UntereSpannungsebene - column: Hersteller - column: Baujahr - column: Name - column: ObereSpannungsebene The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/transformator/oberespannungsebene/{id}" Add a HTML table to the view with the following Areal columns: - column: EigenstaendigEingezaeunt - column: Name - column: Umspannwerk - column: Spannungsebene - column: Beschreibung The table should have the title "Areals" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/areal/spannungsebene/{id}" Add a HTML table to the view with the following Leitung columns: - column: Name - column: Uebertragungsart - column: Bauart - column: Spannungsebene - column: Beschreibung - column: Kennung - column: LaengeKm The table should have the title "Leitungs" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/leitung/spannungsebene/{id}" Add a HTML table to the view with the following Schaltanlage columns: - column: Beschreibung - column: Name - column: Umspannwerk - column: Schaltanlagentyp - column: Spannungsebene - column: Areal The table should have the title "Schaltanlages" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlage/spannungsebene/{id}" Add a HTML table to the view with the following UmspannwerkSpannungsebene columns: - column: Rolle - column: Spannungsebene - column: Umspannwerk The table should have the title "UmspannwerkSpannungsebenes" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/spannungsebene/{id}" 3. The UmspannwerkSpannungsebeneView must contain the following fields: - name: Rolle type: STRING - name: Spannungsebene type: Spannungsebene - name: Umspannwerk type: Umspannwerk The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkSpannungsebene entity should be loaded from the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-GET) If a new UmspannwerkSpannungsebene entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene" (HTTP-POST) If an existing UmspannwerkSpannungsebene entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-PUT) If an existing UmspannwerkSpannungsebene entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum