Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OrganisationApp
Please create a React-JS application for the OrganisationModule. The application has to offer the following views for the user interface: 1. HistorischesEreignisView 2. LandView 3. OrganisationView 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 HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Ereignisdatum type: DATE - name: Land type: Land - name: Organisation type: Organisation - name: Titel 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) The data source for the [Organisation] select control should be loaded from the relative URL: "/OrganisationService/organisation" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/OrganisationService/land" (HTTP-GET) An existing HistorischesEreignis entity should be loaded from the relative URL: "/OrganisationService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/OrganisationService/historischesereignis/{id}" (HTTP-DELETE) 2. The LandView must contain the following fields: - name: Beschreibung type: STRING - name: IsoCode type: STRING - name: Name type: STRING - name: Region type: STRING An existing Land entity should be loaded from the relative URL: "/OrganisationService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/OrganisationService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischesEreignis columns: - column: Organisation - column: Beschreibung - column: Verfahren - column: Titel - column: Land - column: Ereignisdatum The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/OrganisationService/historischesereignis/land/{id}" Add a HTML table to the view with the following Entsalzungsanlage columns: - column: BetreiberOrganisation - column: InbetriebnahmeJahr - column: IstKraftwerksverbund - column: AusserbetriebnahmeJahr - column: Hinweise - column: Land - column: Produktwasserart - column: StandortStadt - column: Rohwasserart - column: Name - column: StandortBeschreibung - column: TageskapazitaetM3 The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/land/{id}" Add a HTML table to the view with the following Organisation columns: - column: SitzStadt - column: Name - column: Organisationstyp - column: SitzLand - column: Beschreibung The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/OrganisationService/organisation/sitzland/{id}" 3. The OrganisationView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Organisationstyp type: STRING - name: SitzLand type: Land - name: SitzStadt type: STRING The data source for the [SitzLand] select control should be loaded from the relative URL: "/OrganisationService/land" (HTTP-GET) An existing Organisation entity should be loaded from the relative URL: "/OrganisationService/organisation/{id}" (HTTP-GET) If a new Organisation entity has been created, the new entity should be posted to the relative URL: "/OrganisationService/organisation" (HTTP-POST) If an existing Organisation entity has been updated, the modified entity should be sent to the relative URL: "/OrganisationService/organisation/{id}" (HTTP-PUT) If an existing Organisation entity has to be deleted, the following relative URL should be called: "/OrganisationService/organisation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Forschungsprojekt columns: - column: Beschreibung - column: Endjahr - column: Name - column: Verfahren - column: Organisation - column: Umweltauswirkung - column: Startjahr The table should have the title "Forschungsprojekts" und the data must be loaded from the server with the following relative URL: "/VerfahrenService/forschungsprojekt/organisation/{id}" Add a HTML table to the view with the following HistorischesEreignis columns: - column: Organisation - column: Beschreibung - column: Verfahren - column: Titel - column: Land - column: Ereignisdatum The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/OrganisationService/historischesereignis/organisation/{id}" Add a HTML table to the view with the following Entsalzungsanlage columns: - column: BetreiberOrganisation - column: InbetriebnahmeJahr - column: IstKraftwerksverbund - column: AusserbetriebnahmeJahr - column: Hinweise - column: Land - column: Produktwasserart - column: StandortStadt - column: Rohwasserart - column: Name - column: StandortBeschreibung - column: TageskapazitaetM3 The table should have the title "Entsalzungsanlages" und the data must be loaded from the server with the following relative URL: "/EntsalzungsanlageService/entsalzungsanlage/betreiberorganisation/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum