Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallstromApp
Please create a React-JS application for the AbfallstromModule. The application has to offer the following views for the user interface: 1. AbfallstromView 2. SammelereignisView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AbfallstromView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallfraktion type: Abfallfraktion - name: Abfallkategorie type: Abfallkategorie - name: Beschreibung type: STRING - name: Entstehungsjahr type: LONG - name: MengeTonnenGeschaetzt type: STRING - name: QuelleAkteur type: Akteur The data source for the [QuelleAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Abfallkategorie] select control should be loaded from the relative URL: "/GemeindeService/abfallkategorie" (HTTP-GET) The data source for the [Abfallfraktion] select control should be loaded from the relative URL: "/AbfallfraktionService/abfallfraktion" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing Abfallstrom entity should be loaded from the relative URL: "/AbfallstromService/abfallstrom/{id}" (HTTP-GET) If a new Abfallstrom entity has been created, the new entity should be posted to the relative URL: "/AbfallstromService/abfallstrom" (HTTP-POST) If an existing Abfallstrom entity has been updated, the modified entity should be sent to the relative URL: "/AbfallstromService/abfallstrom/{id}" (HTTP-PUT) If an existing Abfallstrom entity has to be deleted, the following relative URL should be called: "/AbfallstromService/abfallstrom/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behandlungsvorgang columns: - column: EnergieRueckgewinnungMWh - column: Behandlungsart - column: VorgangsDatum - column: AusgangsmengeTonnen - column: Abfallstrom - column: EingangsmengeTonnen - column: Anlage The table should have the title "Behandlungsvorgangs" und the data must be loaded from the server with the following relative URL: "/BehandlungsartService/behandlungsvorgang/abfallstrom/{id}" Add a HTML table to the view with the following Abfalltransport columns: - column: TransportDatum - column: ZielDeponie - column: Transportart - column: ZielAnlage - column: Abfallstrom - column: QuelleAnlage - column: TransportMengeTonnen The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/DeponieService/abfalltransport/abfallstrom/{id}" Add a HTML table to the view with the following Sammelereignis columns: - column: SammelDatumZeit - column: Abfallstrom - column: GesammelteMengeTonnen - column: Sammelfahrzeug - column: Sammelroute The table should have the title "Sammelereigniss" und the data must be loaded from the server with the following relative URL: "/AbfallstromService/sammelereignis/abfallstrom/{id}" 2. The SammelereignisView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: GesammelteMengeTonnen type: STRING - name: SammelDatumZeit type: DATE - name: Sammelfahrzeug type: Sammelfahrzeug - name: Sammelroute type: Sammelroute The data source for the [Sammelfahrzeug] select control should be loaded from the relative URL: "/SammelfahrzeugService/sammelfahrzeug" (HTTP-GET) The data source for the [Sammelroute] select control should be loaded from the relative URL: "/SammelsystemService/sammelroute" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) An existing Sammelereignis entity should be loaded from the relative URL: "/AbfallstromService/sammelereignis/{id}" (HTTP-GET) If a new Sammelereignis entity has been created, the new entity should be posted to the relative URL: "/AbfallstromService/sammelereignis" (HTTP-POST) If an existing Sammelereignis entity has been updated, the modified entity should be sent to the relative URL: "/AbfallstromService/sammelereignis/{id}" (HTTP-PUT) If an existing Sammelereignis entity has to be deleted, the following relative URL should be called: "/AbfallstromService/sammelereignis/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum