Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GemeindeApp
Please create a React-JS application for the GemeindeModule. The application has to offer the following views for the user interface: 1. GemeindeView 2. PppVertragView 3. StreitfallView 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 GemeindeView must contain the following fields: - name: Einwohnerzahl type: LONG - name: Land type: STRING - name: Name type: STRING - name: Notizen type: STRING - name: Region type: STRING An existing Gemeinde entity should be loaded from the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-GET) If a new Gemeinde entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeinde" (HTTP-POST) If an existing Gemeinde entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-PUT) If an existing Gemeinde entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeinde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadtmoebel columns: - column: Gestaltungsprojekt - column: Gestalter - column: Standort - column: Status - column: Moebeltyp - column: HatSicherheitsfunktion - column: Gemeinde - column: Installationsjahr - column: IstUnbeweglich - column: Standard - column: HatSmartfunktionen - column: Moebelgruppe - column: Name - column: HatWerbung - column: Beschreibung The table should have the title "Stadtmoebels" und the data must be loaded from the server with the following relative URL: "/StadtmoebelService/stadtmoebel/gemeinde/{id}" Add a HTML table to the view with the following Streitfall columns: - column: Beschreibung - column: Betreff - column: Status - column: Gegenpartei - column: Ergebnis - column: Startdatum - column: Gemeinde - column: Enddatum The table should have the title "Streitfalls" und the data must be loaded from the server with the following relative URL: "/GemeindeService/streitfall/gemeinde/{id}" Add a HTML table to the view with the following HistorischeStatistik columns: - column: AnzahlSandkaesten - column: AnzahlFeuermelder - column: Jahr - column: AnzahlOeffentlicheUhren - column: AnzahlWerbesaeulen - column: Gemeinde - column: AnzahlSchalthaeuser - column: AnzahlTramMasten - column: AnzahlLichtmasten - column: AnzahlBrunnen - column: AnzahlHaltestellen - column: AnzahlKioske - column: AnzahlToiletten - column: Notizen The table should have the title "HistorischeStatistiks" und the data must be loaded from the server with the following relative URL: "/StandardService/historischestatistik/gemeinde/{id}" Add a HTML table to the view with the following PppVertrag columns: - column: BeinhaltetBau - column: Notizen - column: Beschreibung - column: Einnahmemodell - column: Enddatum - column: Gemeinde - column: PrivaterPartner - column: Startdatum - column: BeinhaltetWartung The table should have the title "PppVertrags" und the data must be loaded from the server with the following relative URL: "/GemeindeService/pppvertrag/gemeinde/{id}" Add a HTML table to the view with the following Gestaltungsprojekt columns: - column: Name - column: Gemeinde - column: HatCorporateIdentityZiel - column: Stil - column: Gestalter - column: Endjahr - column: Beschreibung - column: Startjahr The table should have the title "Gestaltungsprojekts" und the data must be loaded from the server with the following relative URL: "/GestalterService/gestaltungsprojekt/gemeinde/{id}" 2. The PppVertragView must contain the following fields: - name: BeinhaltetBau type: BOOL - name: BeinhaltetWartung type: BOOL - name: Beschreibung type: STRING - name: Einnahmemodell type: STRING - name: Enddatum type: DATE - name: Gemeinde type: Gemeinde - name: Notizen type: STRING - name: PrivaterPartner type: Organisation - name: Startdatum type: DATE The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [PrivaterPartner] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) An existing PppVertrag entity should be loaded from the relative URL: "/GemeindeService/pppvertrag/{id}" (HTTP-GET) If a new PppVertrag entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/pppvertrag" (HTTP-POST) If an existing PppVertrag entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/pppvertrag/{id}" (HTTP-PUT) If an existing PppVertrag entity has to be deleted, the following relative URL should be called: "/GemeindeService/pppvertrag/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PppVertragMoebel columns: - column: Rolle - column: Stadtmoebel - column: PppVertrag The table should have the title "PppVertragMoebels" und the data must be loaded from the server with the following relative URL: "/MaterialService/pppvertragmoebel/pppvertrag/{id}" 3. The StreitfallView must contain the following fields: - name: Beschreibung type: STRING - name: Betreff type: STRING - name: Enddatum type: DATE - name: Ergebnis type: STRING - name: Gegenpartei type: Organisation - name: Gemeinde type: Gemeinde - name: Startdatum type: DATE - name: Status 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 [Gegenpartei] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) An existing Streitfall entity should be loaded from the relative URL: "/GemeindeService/streitfall/{id}" (HTTP-GET) If a new Streitfall entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/streitfall" (HTTP-POST) If an existing Streitfall entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/streitfall/{id}" (HTTP-PUT) If an existing Streitfall entity has to be deleted, the following relative URL should be called: "/GemeindeService/streitfall/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum