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