Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EntsalzungsanlageApp
Please create a React-JS application for the EntsalzungsanlageModule. The application has to offer the following views for the user interface: 1. AnlageAnwendungsbereichView 2. AnwendungsbereichView 3. EntsalzungsanlageView 4. WasserartView 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 AnlageAnwendungsbereichView must contain the following fields: - name: Anwendungsbereich type: Anwendungsbereich - name: Entsalzungsanlage type: Entsalzungsanlage - name: Prioritaet type: LONG The data source for the [Entsalzungsanlage] select control should be loaded from the relative URL: "/EntsalzungsanlageService/entsalzungsanlage" (HTTP-GET) The data source for the [Anwendungsbereich] select control should be loaded from the relative URL: "/EntsalzungsanlageService/anwendungsbereich" (HTTP-GET) An existing AnlageAnwendungsbereich entity should be loaded from the relative URL: "/EntsalzungsanlageService/anlageanwendungsbereich/{id}" (HTTP-GET) If a new AnlageAnwendungsbereich entity has been created, the new entity should be posted to the relative URL: "/EntsalzungsanlageService/anlageanwendungsbereich" (HTTP-POST) If an existing AnlageAnwendungsbereich entity has been updated, the modified entity should be sent to the relative URL: "/EntsalzungsanlageService/anlageanwendungsbereich/{id}" (HTTP-PUT) If an existing AnlageAnwendungsbereich entity has to be deleted, the following relative URL should be called: "/EntsalzungsanlageService/anlageanwendungsbereich/{id}" (HTTP-DELETE) 2. The AnwendungsbereichView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Anwendungsbereich entity should be loaded from the relative URL: "/EntsalzungsanlageService/anwendungsbereich/{id}" (HTTP-GET) If a new Anwendungsbereich entity has been created, the new entity should be posted to the relative URL: "/EntsalzungsanlageService/anwendungsbereich" (HTTP-POST) If an existing Anwendungsbereich entity has been updated, the modified entity should be sent to the relative URL: "/EntsalzungsanlageService/anwendungsbereich/{id}" (HTTP-PUT) If an existing Anwendungsbereich entity has to be deleted, the following relative URL should be called: "/EntsalzungsanlageService/anwendungsbereich/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AnlageAnwendungsbereich columns: - column: Prioritaet - column: Entsalzungsanlage - column: Anwendungsbereich The table should have the title "AnlageAnwendungsbereichs" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/anlageanwendungsbereich/anwendungsbereich/{id}" 3. The EntsalzungsanlageView must contain the following fields: - name: AusserbetriebnahmeJahr type: LONG - name: BetreiberOrganisation type: Organisation - name: Hinweise type: STRING - name: InbetriebnahmeJahr type: LONG - name: IstKraftwerksverbund type: BOOL - name: Land type: Land - name: Name type: STRING - name: Produktwasserart type: Wasserart - name: Rohwasserart type: Wasserart - name: StandortBeschreibung type: STRING - name: StandortStadt type: STRING - name: TageskapazitaetM3 type: STRING The data source for the [BetreiberOrganisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Produktwasserart] select control should be loaded from the relative URL: "/EntsalzungsanlageService/wasserart" (HTTP-GET) The data source for the [Rohwasserart] select control should be loaded from the relative URL: "/EntsalzungsanlageService/wasserart" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/OrganisationService/land" (HTTP-GET) An existing Entsalzungsanlage entity should be loaded from the relative URL: "/EntsalzungsanlageService/entsalzungsanlage/{id}" (HTTP-GET) If a new Entsalzungsanlage entity has been created, the new entity should be posted to the relative URL: "/EntsalzungsanlageService/entsalzungsanlage" (HTTP-POST) If an existing Entsalzungsanlage entity has been updated, the modified entity should be sent to the relative URL: "/EntsalzungsanlageService/entsalzungsanlage/{id}" (HTTP-PUT) If an existing Entsalzungsanlage entity has to be deleted, the following relative URL should be called: "/EntsalzungsanlageService/entsalzungsanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AnlageVerfahren columns: - column: Entsalzungsanlage - column: IstHauptverfahren - column: Verfahren - column: KapazitaetsanteilProzent The table should have the title "AnlageVerfahrens" und the data must be loaded from the server with the following relative URL: "/VerfahrenService/anlageverfahren/entsalzungsanlage/{id}" Add a HTML table to the view with the following AnlageUmweltauswirkung columns: - column: Umweltauswirkung - column: Entsalzungsanlage - column: Minderungsmassnahmen - column: Bewertung The table should have the title "AnlageUmweltauswirkungs" und the data must be loaded from the server with the following relative URL: "/UmweltauswirkungService/anlageumweltauswirkung/entsalzungsanlage/{id}" 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/entsalzungsanlage/{id}" Add a HTML table to the view with the following AnlageNebenprodukt columns: - column: Tagesmenge - column: Nebenprodukt - column: Entsalzungsanlage - column: Einheit The table should have the title "AnlageNebenprodukts" und the data must be loaded from the server with the following relative URL: "/NebenproduktService/anlagenebenprodukt/entsalzungsanlage/{id}" Add a HTML table to the view with the following AnlageAnwendungsbereich columns: - column: Prioritaet - column: Entsalzungsanlage - column: Anwendungsbereich The table should have the title "AnlageAnwendungsbereichs" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/anlageanwendungsbereich/entsalzungsanlage/{id}" 4. The WasserartView must contain the following fields: - name: Hinweise type: STRING - name: Name type: STRING - name: SalzgehaltBeschreibung type: STRING - name: TypischeVerwendung type: STRING An existing Wasserart entity should be loaded from the relative URL: "/EntsalzungsanlageService/wasserart/{id}" (HTTP-GET) If a new Wasserart entity has been created, the new entity should be posted to the relative URL: "/EntsalzungsanlageService/wasserart" (HTTP-POST) If an existing Wasserart entity has been updated, the modified entity should be sent to the relative URL: "/EntsalzungsanlageService/wasserart/{id}" (HTTP-PUT) If an existing Wasserart entity has to be deleted, the following relative URL should be called: "/EntsalzungsanlageService/wasserart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Entsalzungsanlage columns: - column: Produktwasserart - column: Hinweise - column: InbetriebnahmeJahr - column: Rohwasserart - column: StandortBeschreibung - column: AusserbetriebnahmeJahr - column: Land - column: BetreiberOrganisation - column: StandortStadt - column: TageskapazitaetM3 - column: IstKraftwerksverbund - column: Name The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/rohwasserart/{id}" Add a HTML table to the view with the following Entsalzungsanlage columns: - column: Produktwasserart - column: Hinweise - column: InbetriebnahmeJahr - column: Rohwasserart - column: StandortBeschreibung - column: AusserbetriebnahmeJahr - column: Land - column: BetreiberOrganisation - column: StandortStadt - column: TageskapazitaetM3 - column: IstKraftwerksverbund - column: Name The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/produktwasserart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum