Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FunktionApp
Please create a React-JS application for the FunktionModule. The application has to offer the following views for the user interface: 1. FunktionView 2. StadtmoebelFunktionView 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 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: "/FunktionService/funktion/{id}" (HTTP-GET) If a new Funktion entity has been created, the new entity should be posted to the relative URL: "/FunktionService/funktion" (HTTP-POST) If an existing Funktion entity has been updated, the modified entity should be sent to the relative URL: "/FunktionService/funktion/{id}" (HTTP-PUT) If an existing Funktion entity has to be deleted, the following relative URL should be called: "/FunktionService/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: "/FunktionService/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: "/FunktionService/funktion" (HTTP-GET) An existing StadtmoebelFunktion entity should be loaded from the relative URL: "/FunktionService/stadtmoebelfunktion/{id}" (HTTP-GET) If a new StadtmoebelFunktion entity has been created, the new entity should be posted to the relative URL: "/FunktionService/stadtmoebelfunktion" (HTTP-POST) If an existing StadtmoebelFunktion entity has been updated, the modified entity should be sent to the relative URL: "/FunktionService/stadtmoebelfunktion/{id}" (HTTP-PUT) If an existing StadtmoebelFunktion entity has to be deleted, the following relative URL should be called: "/FunktionService/stadtmoebelfunktion/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum