Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischerEintragApp
Please create a React-JS application for the HistorischerEintragModule. The application has to offer the following views for the user interface: 1. HistorischerEintragView 2. SchaltanlageHistorieView 3. UmspannwerkView 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 HistorischerEintragView must contain the following fields: - name: Beschreibung type: STRING - name: Jahr type: INT - name: Quelle type: STRING - name: Titel type: STRING An existing HistorischerEintrag entity should be loaded from the relative URL: "/HistorischerEintragService/historischereintrag/{id}" (HTTP-GET) If a new HistorischerEintrag entity has been created, the new entity should be posted to the relative URL: "/HistorischerEintragService/historischereintrag" (HTTP-POST) If an existing HistorischerEintrag entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerEintragService/historischereintrag/{id}" (HTTP-PUT) If an existing HistorischerEintrag entity has to be deleted, the following relative URL should be called: "/HistorischerEintragService/historischereintrag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchaltanlageHistorie columns: - column: Schaltanlage - column: HistorischerEintrag The table should have the title "SchaltanlageHistories" und the data must be loaded from the server with the following relative URL: "/HistorischerEintragService/schaltanlagehistorie/historischereintrag/{id}" 2. The SchaltanlageHistorieView must contain the following fields: - name: HistorischerEintrag type: HistorischerEintrag - name: Schaltanlage type: Schaltanlage The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [HistorischerEintrag] select control should be loaded from the relative URL: "/HistorischerEintragService/historischereintrag" (HTTP-GET) An existing SchaltanlageHistorie entity should be loaded from the relative URL: "/HistorischerEintragService/schaltanlagehistorie/{id}" (HTTP-GET) If a new SchaltanlageHistorie entity has been created, the new entity should be posted to the relative URL: "/HistorischerEintragService/schaltanlagehistorie" (HTTP-POST) If an existing SchaltanlageHistorie entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerEintragService/schaltanlagehistorie/{id}" (HTTP-PUT) If an existing SchaltanlageHistorie entity has to be deleted, the following relative URL should be called: "/HistorischerEintragService/schaltanlagehistorie/{id}" (HTTP-DELETE) 3. The UmspannwerkView must contain the following fields: - name: Automatisierungsgrad type: STRING - name: Betreiber type: STRING - name: Bezeichnung type: STRING - name: HatLeitwarte type: BOOL - name: Standort type: STRING An existing Umspannwerk entity should be loaded from the relative URL: "/HistorischerEintragService/umspannwerk/{id}" (HTTP-GET) If a new Umspannwerk entity has been created, the new entity should be posted to the relative URL: "/HistorischerEintragService/umspannwerk" (HTTP-POST) If an existing Umspannwerk entity has been updated, the modified entity should be sent to the relative URL: "/HistorischerEintragService/umspannwerk/{id}" (HTTP-PUT) If an existing Umspannwerk entity has to be deleted, the following relative URL should be called: "/HistorischerEintragService/umspannwerk/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schaltanlage columns: - column: Bezeichnung - column: Beschreibung - column: Standort - column: Spannungsebene - column: Umspannwerk - column: InbetriebnahmeJahr - column: Installationsart - column: Betreiber - column: Anwendung - column: Automatisierungsgrad - column: Schaltanlagentyp The table should have the title "Schaltanlages" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlage/umspannwerk/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum