Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StandortApp
Please create a React-JS application for the StandortModule. The application has to offer the following views for the user interface: 1. LiteraturView 2. StandortView 3. UmspannwerkLeitungView 4. UmspannwerkLiteraturView 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 LiteraturView must contain the following fields: - name: Autoren type: STRING - name: Beschreibung type: STRING - name: Erscheinungsjahr type: LONG - name: Isbn type: STRING - name: Titel type: STRING - name: Verlag type: STRING An existing Literatur entity should be loaded from the relative URL: "/StandortService/literatur/{id}" (HTTP-GET) If a new Literatur entity has been created, the new entity should be posted to the relative URL: "/StandortService/literatur" (HTTP-POST) If an existing Literatur entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/literatur/{id}" (HTTP-PUT) If an existing Literatur entity has to be deleted, the following relative URL should be called: "/StandortService/literatur/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UmspannwerkLiteratur columns: - column: Umspannwerk - column: Literatur - column: Bezug The table should have the title "UmspannwerkLiteraturs" und the data must be loaded from the server with the following relative URL: "/StandortService/umspannwerkliteratur/literatur/{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: PLZ type: STRING - name: Region type: STRING - name: Strasse type: STRING An existing Standort entity should be loaded from the relative URL: "/StandortService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/StandortService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/StandortService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Umspannwerk columns: - column: Automatisierungsgrad - column: Standort - column: InbetriebnahmeJahr - column: Kennung - column: Name - column: Beschreibung - column: HoechsteSpannungKv - column: UmspannwerkTyp 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 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: "/SpannungsebeneService/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: "/StandortService/umspannwerkleitung/{id}" (HTTP-GET) If a new UmspannwerkLeitung entity has been created, the new entity should be posted to the relative URL: "/StandortService/umspannwerkleitung" (HTTP-POST) If an existing UmspannwerkLeitung entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/umspannwerkleitung/{id}" (HTTP-PUT) If an existing UmspannwerkLeitung entity has to be deleted, the following relative URL should be called: "/StandortService/umspannwerkleitung/{id}" (HTTP-DELETE) 4. The UmspannwerkLiteraturView must contain the following fields: - name: Bezug type: STRING - name: Literatur type: Literatur - name: Umspannwerk type: Umspannwerk The data source for the [Literatur] select control should be loaded from the relative URL: "/StandortService/literatur" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkLiteratur entity should be loaded from the relative URL: "/StandortService/umspannwerkliteratur/{id}" (HTTP-GET) If a new UmspannwerkLiteratur entity has been created, the new entity should be posted to the relative URL: "/StandortService/umspannwerkliteratur" (HTTP-POST) If an existing UmspannwerkLiteratur entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/umspannwerkliteratur/{id}" (HTTP-PUT) If an existing UmspannwerkLiteratur entity has to be deleted, the following relative URL should be called: "/StandortService/umspannwerkliteratur/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum