Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AnwendungApp
Please create a React-JS application for the AnwendungModule. The application has to offer the following views for the user interface: 1. AnwendungView 2. BauartView 3. GeraetAnwendungView 4. NormView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AnwendungView must contain the following fields: - name: Name type: STRING An existing Anwendung entity should be loaded from the relative URL: "/AnwendungService/anwendung/{id}" (HTTP-GET) If a new Anwendung entity has been created, the new entity should be posted to the relative URL: "/AnwendungService/anwendung" (HTTP-POST) If an existing Anwendung entity has been updated, the modified entity should be sent to the relative URL: "/AnwendungService/anwendung/{id}" (HTTP-PUT) If an existing Anwendung entity has to be deleted, the following relative URL should be called: "/AnwendungService/anwendung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetAnwendung columns: - column: Anwendung - column: SpeicherGeraet The table should have the title "GeraetAnwendungs" und the data must be loaded from the server with the following relative URL: "/AnwendungService/geraetanwendung/anwendung/{id}" 2. The BauartView must contain the following fields: - name: MaxDruckBar type: STRING - name: Name type: STRING - name: TypischesMaxVolumenLiter type: STRING An existing Bauart entity should be loaded from the relative URL: "/AnwendungService/bauart/{id}" (HTTP-GET) If a new Bauart entity has been created, the new entity should be posted to the relative URL: "/AnwendungService/bauart" (HTTP-POST) If an existing Bauart entity has been updated, the modified entity should be sent to the relative URL: "/AnwendungService/bauart/{id}" (HTTP-PUT) If an existing Bauart entity has to be deleted, the following relative URL should be called: "/AnwendungService/bauart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpeicherGeraet columns: - column: IstTrinkwassergeeignet - column: MinBetriebstemperatur - column: Name - column: SpeicherKategorie - column: HatHeizstab - column: KalkVerhalten - column: LegionellenRisikoProfil - column: SchichtungsDesign - column: IstSolarBereit - column: Bauart - column: IstNurPuffer - column: IstDirektentnahme - column: HatWaermetauscher - column: VolumenLiter - column: MaxBetriebstemperatur - column: Beschreibung The table should have the title "SpeicherGeraets" und the data must be loaded from the server with the following relative URL: "/SpeicherGeraetService/speichergeraet/bauart/{id}" 3. The GeraetAnwendungView must contain the following fields: - name: Anwendung type: Anwendung - name: SpeicherGeraet type: SpeicherGeraet The data source for the [Anwendung] select control should be loaded from the relative URL: "/AnwendungService/anwendung" (HTTP-GET) The data source for the [SpeicherGeraet] select control should be loaded from the relative URL: "/SpeicherGeraetService/speichergeraet" (HTTP-GET) An existing GeraetAnwendung entity should be loaded from the relative URL: "/AnwendungService/geraetanwendung/{id}" (HTTP-GET) If a new GeraetAnwendung entity has been created, the new entity should be posted to the relative URL: "/AnwendungService/geraetanwendung" (HTTP-POST) If an existing GeraetAnwendung entity has been updated, the modified entity should be sent to the relative URL: "/AnwendungService/geraetanwendung/{id}" (HTTP-PUT) If an existing GeraetAnwendung entity has to be deleted, the following relative URL should be called: "/AnwendungService/geraetanwendung/{id}" (HTTP-DELETE) 4. The NormView must contain the following fields: - name: AnwendungsBereich type: STRING - name: Code type: STRING - name: Titel type: STRING An existing Norm entity should be loaded from the relative URL: "/AnwendungService/norm/{id}" (HTTP-GET) If a new Norm entity has been created, the new entity should be posted to the relative URL: "/AnwendungService/norm" (HTTP-POST) If an existing Norm entity has been updated, the modified entity should be sent to the relative URL: "/AnwendungService/norm/{id}" (HTTP-PUT) If an existing Norm entity has to be deleted, the following relative URL should be called: "/AnwendungService/norm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetNorm columns: - column: Norm - column: SpeicherGeraet The table should have the title "GeraetNorms" und the data must be loaded from the server with the following relative URL: "/SpeicherGeraetService/geraetnorm/norm/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum