Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischesSystemApp
Please create a React-JS application for the HistorischesSystemModule. The application has to offer the following views for the user interface: 1. HistorischesEreignisView 2. HistorischesSystemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: HistorischesSystem type: HistorischesSystem - name: Jahr type: INT - name: Titel type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [HistorischesSystem] select control should be loaded from the relative URL: "/HistorischesSystemService/historischessystem" (HTTP-GET) An existing HistorischesEreignis entity should be loaded from the relative URL: "/HistorischesSystemService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/HistorischesSystemService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesSystemService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/HistorischesSystemService/historischesereignis/{id}" (HTTP-DELETE) 2. The HistorischesSystemView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: INT - name: Name type: STRING - name: Startjahr type: INT - name: UrsprungGemeinde type: STRING An existing HistorischesSystem entity should be loaded from the relative URL: "/HistorischesSystemService/historischessystem/{id}" (HTTP-GET) If a new HistorischesSystem entity has been created, the new entity should be posted to the relative URL: "/HistorischesSystemService/historischessystem" (HTTP-POST) If an existing HistorischesSystem entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesSystemService/historischessystem/{id}" (HTTP-PUT) If an existing HistorischesSystem entity has to be deleted, the following relative URL should be called: "/HistorischesSystemService/historischessystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischesEreignis columns: - column: Gemeinde - column: Jahr - column: Beschreibung - column: Titel - column: HistorischesSystem The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/HistorischesSystemService/historischesereignis/historischessystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum