Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StandardApp
Please create a React-JS application for the StandardModule. The application has to offer the following views for the user interface: 1. FunktionView 2. StadtmoebelFunktionView 3. StandardView 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 FunktionView must contain the following fields: - name: Beschreibung type: STRING - name: IstPrimaerZulaessig type: BOOL - name: Name type: STRING An existing Funktion entity should be loaded from the relative URL: "/StandardService/funktion/{id}" (HTTP-GET) If a new Funktion entity has been created, the new entity should be posted to the relative URL: "/StandardService/funktion" (HTTP-POST) If an existing Funktion entity has been updated, the modified entity should be sent to the relative URL: "/StandardService/funktion/{id}" (HTTP-PUT) If an existing Funktion entity has to be deleted, the following relative URL should be called: "/StandardService/funktion/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StadtmoebelFunktion columns: - column: Stadtmoebel - column: Funktion - column: IstPrimaer The table should have the title "StadtmoebelFunktions" und the data must be loaded from the server with the following relative URL: "/StandardService/stadtmoebelfunktion/funktion/{id}" 2. The StadtmoebelFunktionView must contain the following fields: - name: Funktion type: Funktion - name: IstPrimaer type: BOOL - name: Stadtmoebel type: Stadtmoebel The data source for the [Stadtmoebel] select control should be loaded from the relative URL: "/StadtmoebelService/stadtmoebel" (HTTP-GET) The data source for the [Funktion] select control should be loaded from the relative URL: "/StandardService/funktion" (HTTP-GET) An existing StadtmoebelFunktion entity should be loaded from the relative URL: "/StandardService/stadtmoebelfunktion/{id}" (HTTP-GET) If a new StadtmoebelFunktion entity has been created, the new entity should be posted to the relative URL: "/StandardService/stadtmoebelfunktion" (HTTP-POST) If an existing StadtmoebelFunktion entity has been updated, the modified entity should be sent to the relative URL: "/StandardService/stadtmoebelfunktion/{id}" (HTTP-PUT) If an existing StadtmoebelFunktion entity has to be deleted, the following relative URL should be called: "/StandardService/stadtmoebelfunktion/{id}" (HTTP-DELETE) 3. The StandardView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Code type: STRING - name: GueltigAb type: DATE - name: Herausgeber type: STRING - name: Notizen type: STRING - name: Titel type: STRING An existing Standard entity should be loaded from the relative URL: "/StandardService/standard/{id}" (HTTP-GET) If a new Standard entity has been created, the new entity should be posted to the relative URL: "/StandardService/standard" (HTTP-POST) If an existing Standard entity has been updated, the modified entity should be sent to the relative URL: "/StandardService/standard/{id}" (HTTP-PUT) If an existing Standard entity has to be deleted, the following relative URL should be called: "/StandardService/standard/{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/standard/{id}" Add a HTML table to the view with the following NormAnwendung columns: - column: Anwendungstyp - column: Notizen - column: Standard - column: Stadtmoebel The table should have the title "NormAnwendungs" und the data must be loaded from the server with the following relative URL: "/StadtmoebelService/normanwendung/standard/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum