Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WeblinkApp
Please create a React-JS application for the WeblinkModule. The application has to offer the following views for the user interface: 1. KoppelleitungView 2. LeitungView 3. UmspannwerkLeitungView 4. WeblinkView 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 KoppelleitungView must contain the following fields: - name: ArealNach type: Areal - name: ArealVon type: Areal - name: Beschreibung type: STRING - name: LeitungslaengeKm type: STRING - name: Name type: STRING - name: Umspannwerk type: Umspannwerk The data source for the [ArealVon] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) The data source for the [ArealNach] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) An existing Koppelleitung entity should be loaded from the relative URL: "/WeblinkService/koppelleitung/{id}" (HTTP-GET) If a new Koppelleitung entity has been created, the new entity should be posted to the relative URL: "/WeblinkService/koppelleitung" (HTTP-POST) If an existing Koppelleitung entity has been updated, the modified entity should be sent to the relative URL: "/WeblinkService/koppelleitung/{id}" (HTTP-PUT) If an existing Koppelleitung entity has to be deleted, the following relative URL should be called: "/WeblinkService/koppelleitung/{id}" (HTTP-DELETE) 2. 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: "/WeblinkService/leitung/{id}" (HTTP-GET) If a new Leitung entity has been created, the new entity should be posted to the relative URL: "/WeblinkService/leitung" (HTTP-POST) If an existing Leitung entity has been updated, the modified entity should be sent to the relative URL: "/WeblinkService/leitung/{id}" (HTTP-PUT) If an existing Leitung entity has to be deleted, the following relative URL should be called: "/WeblinkService/leitung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkLeitung columns: - column: Umspannwerk - column: Rolle - column: Leitung - column: Areal The table should have the title "UmspannwerkLeitungs" und the data must be loaded from the server with the following relative URL: "/WeblinkService/umspannwerkleitung/leitung/{id}" 3. The UmspannwerkLeitungView must contain the following fields: - name: Areal type: Areal - name: Leitung type: Leitung - name: Rolle type: STRING - name: Umspannwerk type: Umspannwerk The data source for the [Areal] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) The data source for the [Leitung] select control should be loaded from the relative URL: "/WeblinkService/leitung" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkLeitung entity should be loaded from the relative URL: "/WeblinkService/umspannwerkleitung/{id}" (HTTP-GET) If a new UmspannwerkLeitung entity has been created, the new entity should be posted to the relative URL: "/WeblinkService/umspannwerkleitung" (HTTP-POST) If an existing UmspannwerkLeitung entity has been updated, the modified entity should be sent to the relative URL: "/WeblinkService/umspannwerkleitung/{id}" (HTTP-PUT) If an existing UmspannwerkLeitung entity has to be deleted, the following relative URL should be called: "/WeblinkService/umspannwerkleitung/{id}" (HTTP-DELETE) 4. The WeblinkView must contain the following fields: - name: Beschreibung type: STRING - name: Titel type: STRING - name: Url type: STRING An existing Weblink entity should be loaded from the relative URL: "/WeblinkService/weblink/{id}" (HTTP-GET) If a new Weblink entity has been created, the new entity should be posted to the relative URL: "/WeblinkService/weblink" (HTTP-POST) If an existing Weblink entity has been updated, the modified entity should be sent to the relative URL: "/WeblinkService/weblink/{id}" (HTTP-PUT) If an existing Weblink entity has to be deleted, the following relative URL should be called: "/WeblinkService/weblink/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkWeblink columns: - column: Bezug - column: Weblink - column: Umspannwerk The table should have the title "UmspannwerkWeblinks" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/umspannwerkweblink/weblink/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum