Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GlasFarbeApp
Please create a React-JS application for the GlasFarbeModule. The application has to offer the following views for the user interface: 1. GlasFarbeView 2. GlasProduktView 3. GlasProduktFarbeView 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 GlasFarbeView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing GlasFarbe entity should be loaded from the relative URL: "/GlasFarbeService/glasfarbe/{id}" (HTTP-GET) If a new GlasFarbe entity has been created, the new entity should be posted to the relative URL: "/GlasFarbeService/glasfarbe" (HTTP-POST) If an existing GlasFarbe entity has been updated, the modified entity should be sent to the relative URL: "/GlasFarbeService/glasfarbe/{id}" (HTTP-PUT) If an existing GlasFarbe entity has to be deleted, the following relative URL should be called: "/GlasFarbeService/glasfarbe/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GlasProduktFarbe columns: - column: IstHauptfarbe - column: GlasFarbe - column: GlasProdukt The table should have the title "GlasProduktFarbes" und the data must be loaded from the server with the following relative URL: "/GlasFarbeService/glasproduktfarbe/glasfarbe/{id}" Add a HTML table to the view with the following FarbToleranz columns: - column: QualitaetsStandard - column: FremdFarbe - column: ZielFarbe - column: MaxProzent - column: Notizen The table should have the title "FarbToleranzs" und the data must be loaded from the server with the following relative URL: "/QualitaetsStandardService/farbtoleranz/zielfarbe/{id}" Add a HTML table to the view with the following FarbToleranz columns: - column: QualitaetsStandard - column: FremdFarbe - column: ZielFarbe - column: MaxProzent - column: Notizen The table should have the title "FarbToleranzs" und the data must be loaded from the server with the following relative URL: "/QualitaetsStandardService/farbtoleranz/fremdfarbe/{id}" 2. The GlasProduktView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: Beschreibung type: STRING - name: GlasKategorie type: GlasKategorie - name: Name type: STRING The data source for the [GlasKategorie] select control should be loaded from the relative URL: "/GlasKategorieService/glaskategorie" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) An existing GlasProdukt entity should be loaded from the relative URL: "/GlasFarbeService/glasprodukt/{id}" (HTTP-GET) If a new GlasProdukt entity has been created, the new entity should be posted to the relative URL: "/GlasFarbeService/glasprodukt" (HTTP-POST) If an existing GlasProdukt entity has been updated, the modified entity should be sent to the relative URL: "/GlasFarbeService/glasprodukt/{id}" (HTTP-PUT) If an existing GlasProdukt entity has to be deleted, the following relative URL should be called: "/GlasFarbeService/glasprodukt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GlasProduktFarbe columns: - column: IstHauptfarbe - column: GlasFarbe - column: GlasProdukt The table should have the title "GlasProduktFarbes" und the data must be loaded from the server with the following relative URL: "/GlasFarbeService/glasproduktfarbe/glasprodukt/{id}" 3. The GlasProduktFarbeView must contain the following fields: - name: GlasFarbe type: GlasFarbe - name: GlasProdukt type: GlasProdukt - name: IstHauptfarbe type: BOOL The data source for the [GlasProdukt] select control should be loaded from the relative URL: "/GlasFarbeService/glasprodukt" (HTTP-GET) The data source for the [GlasFarbe] select control should be loaded from the relative URL: "/GlasFarbeService/glasfarbe" (HTTP-GET) An existing GlasProduktFarbe entity should be loaded from the relative URL: "/GlasFarbeService/glasproduktfarbe/{id}" (HTTP-GET) If a new GlasProduktFarbe entity has been created, the new entity should be posted to the relative URL: "/GlasFarbeService/glasproduktfarbe" (HTTP-POST) If an existing GlasProduktFarbe entity has been updated, the modified entity should be sent to the relative URL: "/GlasFarbeService/glasproduktfarbe/{id}" (HTTP-PUT) If an existing GlasProduktFarbe entity has to be deleted, the following relative URL should be called: "/GlasFarbeService/glasproduktfarbe/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum