Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GasnetzApp
Please create a React-JS application for the GasnetzModule. The application has to offer the following views for the user interface: 1. GasnetzView 2. TechnologieEinsatzView 3. VertragView 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 GasnetzView must contain the following fields: - name: BetreiberOrganisation type: Organisation - name: Endjahr type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Region type: Region - name: Startjahr type: LONG The data source for the [BetreiberOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/LandService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gasnetz entity should be loaded from the relative URL: "/GasnetzService/gasnetz/{id}" (HTTP-GET) If a new Gasnetz entity has been created, the new entity should be posted to the relative URL: "/GasnetzService/gasnetz" (HTTP-POST) If an existing Gasnetz entity has been updated, the modified entity should be sent to the relative URL: "/GasnetzService/gasnetz/{id}" (HTTP-PUT) If an existing Gasnetz entity has to be deleted, the following relative URL should be called: "/GasnetzService/gasnetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TechnologieEinsatz columns: - column: Technologie - column: VonJahr - column: Beschreibung - column: Gasnetz - column: BisJahr - column: Anlage The table should have the title "TechnologieEinsatzs" und the data must be loaded from the server with the following relative URL: "/GasnetzService/technologieeinsatz/gasnetz/{id}" 2. The TechnologieEinsatzView must contain the following fields: - name: Anlage type: Anlage - name: Beschreibung type: STRING - name: BisJahr type: LONG - name: Gasnetz type: Gasnetz - name: Technologie type: Technologie - name: VonJahr type: LONG The data source for the [Anlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Technologie] select control should be loaded from the relative URL: "/PersonService/technologie" (HTTP-GET) The data source for the [Gasnetz] select control should be loaded from the relative URL: "/GasnetzService/gasnetz" (HTTP-GET) An existing TechnologieEinsatz entity should be loaded from the relative URL: "/GasnetzService/technologieeinsatz/{id}" (HTTP-GET) If a new TechnologieEinsatz entity has been created, the new entity should be posted to the relative URL: "/GasnetzService/technologieeinsatz" (HTTP-POST) If an existing TechnologieEinsatz entity has been updated, the modified entity should be sent to the relative URL: "/GasnetzService/technologieeinsatz/{id}" (HTTP-PUT) If an existing TechnologieEinsatz entity has to be deleted, the following relative URL should be called: "/GasnetzService/technologieeinsatz/{id}" (HTTP-DELETE) 3. The VertragView must contain the following fields: - name: Endjahr type: LONG - name: KaeuferOrganisation type: Organisation - name: Name type: STRING - name: Notizen type: STRING - name: Startjahr type: LONG - name: VerkaeuferOrganisation type: Organisation - name: Vertragsart type: STRING - name: Vertragsdatum type: DATE - name: VolumenBcm type: STRING - name: Waehrung type: STRING - name: WertBetrag type: STRING The data source for the [KaeuferOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) The data source for the [VerkaeuferOrganisation] select control should be loaded from the relative URL: "/LandService/organisation" (HTTP-GET) An existing Vertrag entity should be loaded from the relative URL: "/GasnetzService/vertrag/{id}" (HTTP-GET) If a new Vertrag entity has been created, the new entity should be posted to the relative URL: "/GasnetzService/vertrag" (HTTP-POST) If an existing Vertrag entity has been updated, the modified entity should be sent to the relative URL: "/GasnetzService/vertrag/{id}" (HTTP-PUT) If an existing Vertrag entity has to be deleted, the following relative URL should be called: "/GasnetzService/vertrag/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum