Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NetzartApp
Please create a React-JS application for the NetzartModule. The application has to offer the following views for the user interface: 1. NetzartView 2. StandortView 3. UmspannwerkNetzartView 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 NetzartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Netzart entity should be loaded from the relative URL: "/NetzartService/netzart/{id}" (HTTP-GET) If a new Netzart entity has been created, the new entity should be posted to the relative URL: "/NetzartService/netzart" (HTTP-POST) If an existing Netzart entity has been updated, the modified entity should be sent to the relative URL: "/NetzartService/netzart/{id}" (HTTP-PUT) If an existing Netzart entity has to be deleted, the following relative URL should be called: "/NetzartService/netzart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkNetzart columns: - column: Umspannwerk - column: Netzart The table should have the title "UmspannwerkNetzarts" und the data must be loaded from the server with the following relative URL: "/NetzartService/umspannwerknetzart/netzart/{id}" 2. The StandortView must contain the following fields: - name: Beschreibung type: STRING - name: Breitengrad type: STRING - name: Bundesland type: STRING - name: Hausnummer type: STRING - name: Laengengrad type: STRING - name: Land type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Region type: STRING - name: Strasse type: STRING An existing Standort entity should be loaded from the relative URL: "/NetzartService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/NetzartService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/NetzartService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/NetzartService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Umspannwerk columns: - column: HoechsteSpannungKv - column: Automatisierungsgrad - column: Standort - column: Beschreibung - column: UmspannwerkTyp - column: InbetriebnahmeJahr - column: Kennung - column: Name The table should have the title "Umspannwerks" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/umspannwerk/standort/{id}" 3. The UmspannwerkNetzartView must contain the following fields: - name: Netzart type: Netzart - name: Umspannwerk type: Umspannwerk The data source for the [Netzart] select control should be loaded from the relative URL: "/NetzartService/netzart" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkNetzart entity should be loaded from the relative URL: "/NetzartService/umspannwerknetzart/{id}" (HTTP-GET) If a new UmspannwerkNetzart entity has been created, the new entity should be posted to the relative URL: "/NetzartService/umspannwerknetzart" (HTTP-POST) If an existing UmspannwerkNetzart entity has been updated, the modified entity should be sent to the relative URL: "/NetzartService/umspannwerknetzart/{id}" (HTTP-PUT) If an existing UmspannwerkNetzart entity has to be deleted, the following relative URL should be called: "/NetzartService/umspannwerknetzart/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum