Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EnergiequelleApp
Please create a React-JS application for the EnergiequelleModule. The application has to offer the following views for the user interface: 1. AnlageEnergiequelleView 2. EnergiequelleView 3. VerfahrensvarianteView 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 AnlageEnergiequelleView must contain the following fields: - name: EnergieanteilProzent type: STRING - name: Energiequelle type: Energiequelle - name: Entsalzungsanlage type: Entsalzungsanlage The data source for the [Entsalzungsanlage] select control should be loaded from the relative URL: "/EntsalzungsanlageService/entsalzungsanlage" (HTTP-GET) The data source for the [Energiequelle] select control should be loaded from the relative URL: "/EnergiequelleService/energiequelle" (HTTP-GET) An existing AnlageEnergiequelle entity should be loaded from the relative URL: "/EnergiequelleService/anlageenergiequelle/{id}" (HTTP-GET) If a new AnlageEnergiequelle entity has been created, the new entity should be posted to the relative URL: "/EnergiequelleService/anlageenergiequelle" (HTTP-POST) If an existing AnlageEnergiequelle entity has been updated, the modified entity should be sent to the relative URL: "/EnergiequelleService/anlageenergiequelle/{id}" (HTTP-PUT) If an existing AnlageEnergiequelle entity has to be deleted, the following relative URL should be called: "/EnergiequelleService/anlageenergiequelle/{id}" (HTTP-DELETE) 2. The EnergiequelleView must contain the following fields: - name: Beschreibung type: STRING - name: IstFossil type: BOOL - name: IstRegenerativ type: BOOL - name: Kategorie type: STRING - name: Name type: STRING An existing Energiequelle entity should be loaded from the relative URL: "/EnergiequelleService/energiequelle/{id}" (HTTP-GET) If a new Energiequelle entity has been created, the new entity should be posted to the relative URL: "/EnergiequelleService/energiequelle" (HTTP-POST) If an existing Energiequelle entity has been updated, the modified entity should be sent to the relative URL: "/EnergiequelleService/energiequelle/{id}" (HTTP-PUT) If an existing Energiequelle entity has to be deleted, the following relative URL should be called: "/EnergiequelleService/energiequelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AnlageEnergiequelle columns: - column: Energiequelle - column: Entsalzungsanlage - column: EnergieanteilProzent The table should have the title "AnlageEnergiequelles" und the data must be loaded from the server with the following relative URL: "/EnergiequelleService/anlageenergiequelle/energiequelle/{id}" Add a HTML table to the view with the following VerfahrenEnergiequelle columns: - column: NutzungBeschreibung - column: Energiequelle - column: Verfahren The table should have the title "VerfahrenEnergiequelles" und the data must be loaded from the server with the following relative URL: "/VerfahrenService/verfahrenenergiequelle/energiequelle/{id}" 3. The VerfahrensvarianteView must contain the following fields: - name: Beschreibung type: STRING - name: BetriebsdruckBar type: STRING - name: BetriebstemperaturC type: STRING - name: Name type: STRING - name: RueckgewinnungsrateProzent type: STRING - name: Verfahren type: Verfahren The data source for the [Verfahren] select control should be loaded from the relative URL: "/VerfahrenService/verfahren" (HTTP-GET) An existing Verfahrensvariante entity should be loaded from the relative URL: "/EnergiequelleService/verfahrensvariante/{id}" (HTTP-GET) If a new Verfahrensvariante entity has been created, the new entity should be posted to the relative URL: "/EnergiequelleService/verfahrensvariante" (HTTP-POST) If an existing Verfahrensvariante entity has been updated, the modified entity should be sent to the relative URL: "/EnergiequelleService/verfahrensvariante/{id}" (HTTP-PUT) If an existing Verfahrensvariante entity has to be deleted, the following relative URL should be called: "/EnergiequelleService/verfahrensvariante/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum