Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MoebelKategorieApp
Please create a React-JS application for the MoebelKategorieModule. The application has to offer the following views for the user interface: 1. MoebelKategorieView 2. WerbeflaecheView 3. WerbevertragView 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 MoebelKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing MoebelKategorie entity should be loaded from the relative URL: "/MoebelKategorieService/moebelkategorie/{id}" (HTTP-GET) If a new MoebelKategorie entity has been created, the new entity should be posted to the relative URL: "/MoebelKategorieService/moebelkategorie" (HTTP-POST) If an existing MoebelKategorie entity has been updated, the modified entity should be sent to the relative URL: "/MoebelKategorieService/moebelkategorie/{id}" (HTTP-PUT) If an existing MoebelKategorie entity has to be deleted, the following relative URL should be called: "/MoebelKategorieService/moebelkategorie/{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/moebelgruppe/{id}" 2. The WerbeflaecheView must contain the following fields: - name: Breite type: STRING - name: Flaechentyp type: STRING - name: Hoehe type: STRING - name: IstDigital type: BOOL - name: IstHinterleuchtet type: BOOL - name: MaxAnzeigen type: LONG - name: Notizen type: STRING - name: Stadtmoebel type: Stadtmoebel The data source for the [Stadtmoebel] select control should be loaded from the relative URL: "/StadtmoebelService/stadtmoebel" (HTTP-GET) An existing Werbeflaeche entity should be loaded from the relative URL: "/MoebelKategorieService/werbeflaeche/{id}" (HTTP-GET) If a new Werbeflaeche entity has been created, the new entity should be posted to the relative URL: "/MoebelKategorieService/werbeflaeche" (HTTP-POST) If an existing Werbeflaeche entity has been updated, the modified entity should be sent to the relative URL: "/MoebelKategorieService/werbeflaeche/{id}" (HTTP-PUT) If an existing Werbeflaeche entity has to be deleted, the following relative URL should be called: "/MoebelKategorieService/werbeflaeche/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Werbevertrag columns: - column: Notizen - column: Werbetreibender - column: Enddatum - column: Waehrung - column: Gebuehr - column: Werbeflaeche - column: Startdatum The table should have the title "Werbevertrags" und the data must be loaded from the server with the following relative URL: "/MoebelKategorieService/werbevertrag/werbeflaeche/{id}" 3. The WerbevertragView must contain the following fields: - name: Enddatum type: DATE - name: Gebuehr type: STRING - name: Notizen type: STRING - name: Startdatum type: DATE - name: Waehrung type: STRING - name: Werbeflaeche type: Werbeflaeche - name: Werbetreibender type: Organisation The data source for the [Werbetreibender] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Werbeflaeche] select control should be loaded from the relative URL: "/MoebelKategorieService/werbeflaeche" (HTTP-GET) An existing Werbevertrag entity should be loaded from the relative URL: "/MoebelKategorieService/werbevertrag/{id}" (HTTP-GET) If a new Werbevertrag entity has been created, the new entity should be posted to the relative URL: "/MoebelKategorieService/werbevertrag" (HTTP-POST) If an existing Werbevertrag entity has been updated, the modified entity should be sent to the relative URL: "/MoebelKategorieService/werbevertrag/{id}" (HTTP-PUT) If an existing Werbevertrag entity has to be deleted, the following relative URL should be called: "/MoebelKategorieService/werbevertrag/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum