Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
InstallationsArtApp
Please create a React-JS application for the InstallationsArtModule. The application has to offer the following views for the user interface: 1. GeraetInstallationsArtView 2. InstallationsArtView 3. LegionellenRisikoProfilView 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 GeraetInstallationsArtView must contain the following fields: - name: InstallationsArt type: InstallationsArt - name: SpeicherGeraet type: SpeicherGeraet The data source for the [InstallationsArt] select control should be loaded from the relative URL: "/InstallationsArtService/installationsart" (HTTP-GET) The data source for the [SpeicherGeraet] select control should be loaded from the relative URL: "/SpeicherGeraetService/speichergeraet" (HTTP-GET) An existing GeraetInstallationsArt entity should be loaded from the relative URL: "/InstallationsArtService/geraetinstallationsart/{id}" (HTTP-GET) If a new GeraetInstallationsArt entity has been created, the new entity should be posted to the relative URL: "/InstallationsArtService/geraetinstallationsart" (HTTP-POST) If an existing GeraetInstallationsArt entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsArtService/geraetinstallationsart/{id}" (HTTP-PUT) If an existing GeraetInstallationsArt entity has to be deleted, the following relative URL should be called: "/InstallationsArtService/geraetinstallationsart/{id}" (HTTP-DELETE) 2. The InstallationsArtView must contain the following fields: - name: Name type: STRING An existing InstallationsArt entity should be loaded from the relative URL: "/InstallationsArtService/installationsart/{id}" (HTTP-GET) If a new InstallationsArt entity has been created, the new entity should be posted to the relative URL: "/InstallationsArtService/installationsart" (HTTP-POST) If an existing InstallationsArt entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsArtService/installationsart/{id}" (HTTP-PUT) If an existing InstallationsArt entity has to be deleted, the following relative URL should be called: "/InstallationsArtService/installationsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetInstallationsArt columns: - column: SpeicherGeraet - column: InstallationsArt The table should have the title "GeraetInstallationsArts" und the data must be loaded from the server with the following relative URL: "/InstallationsArtService/geraetinstallationsart/installationsart/{id}" 3. The LegionellenRisikoProfilView must contain the following fields: - name: EmpfohleneStrategie type: STRING - name: MinSichereTemperatur type: STRING - name: Name type: STRING An existing LegionellenRisikoProfil entity should be loaded from the relative URL: "/InstallationsArtService/legionellenrisikoprofil/{id}" (HTTP-GET) If a new LegionellenRisikoProfil entity has been created, the new entity should be posted to the relative URL: "/InstallationsArtService/legionellenrisikoprofil" (HTTP-POST) If an existing LegionellenRisikoProfil entity has been updated, the modified entity should be sent to the relative URL: "/InstallationsArtService/legionellenrisikoprofil/{id}" (HTTP-PUT) If an existing LegionellenRisikoProfil entity has to be deleted, the following relative URL should be called: "/InstallationsArtService/legionellenrisikoprofil/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpeicherGeraet columns: - column: LegionellenRisikoProfil - column: HatHeizstab - column: SpeicherKategorie - column: IstTrinkwassergeeignet - column: SchichtungsDesign - column: Beschreibung - column: IstDirektentnahme - column: MinBetriebstemperatur - column: IstNurPuffer - column: Bauart - column: Name - column: IstSolarBereit - column: VolumenLiter - column: HatWaermetauscher - column: KalkVerhalten - column: MaxBetriebstemperatur The table should have the title "SpeicherGeraets" und the data must be loaded from the server with the following relative URL: "/SpeicherGeraetService/speichergeraet/legionellenrisikoprofil/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum