Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallartApp
Please create a React-JS application for the AbfallartModule. The application has to offer the following views for the user interface: 1. AbfallartView 2. AbfallstromView 3. AbfalltransportView 4. TransportartView 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 AbfallartView must contain the following fields: - name: Beschreibung type: STRING - name: Gefaehrlichkeitsklasse type: STRING - name: Herkunftsbereich type: STRING - name: Name type: STRING An existing Abfallart entity should be loaded from the relative URL: "/AbfallartService/abfallart/{id}" (HTTP-GET) If a new Abfallart entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/abfallart" (HTTP-POST) If an existing Abfallart entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/abfallart/{id}" (HTTP-PUT) If an existing Abfallart entity has to be deleted, the following relative URL should be called: "/AbfallartService/abfallart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GemeindeZustaendigkeit columns: - column: BeginnDatum - column: Gemeinde - column: Beschreibung - column: EndeDatum - column: Abfallart The table should have the title "GemeindeZustaendigkeits" und the data must be loaded from the server with the following relative URL: "/BehandlungsartService/gemeindezustaendigkeit/abfallart/{id}" Add a HTML table to the view with the following PlanZiel columns: - column: Abfallart - column: Abfallfraktion - column: ZielWert - column: ZielJahr - column: Abfallwirtschaftsplan - column: ZielEinheit - column: ZielBeschreibung The table should have the title "PlanZiels" und the data must be loaded from the server with the following relative URL: "/AnlageService/planziel/abfallart/{id}" Add a HTML table to the view with the following Abfallstrom columns: - column: Abfallart - column: Beschreibung - column: QuelleAkteur - column: MengeTonnenGeschaetzt - column: Abfallfraktion - column: Abfallkategorie - column: Entstehungsjahr The table should have the title "Abfallstroms" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfallstrom/abfallart/{id}" Add a HTML table to the view with the following AnlagenBehandlungsfaehigkeit columns: - column: KapazitaetTonnenProJahr - column: Abfallfraktion - column: Behandlungsart - column: Abfallart - column: Anlage The table should have the title "AnlagenBehandlungsfaehigkeits" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlagenbehandlungsfaehigkeit/abfallart/{id}" Add a HTML table to the view with the following Abfallfraktion columns: - column: Abfallart - column: Name - column: OrganischerAnteilProzent - column: WiederverwertbarFlag - column: Beschreibung The table should have the title "Abfallfraktions" und the data must be loaded from the server with the following relative URL: "/AnlageService/abfallfraktion/abfallart/{id}" 2. 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: "/AbfallkategorieService/abfallkategorie" (HTTP-GET) The data source for the [Abfallfraktion] select control should be loaded from the relative URL: "/AnlageService/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: "/AbfallartService/abfallstrom/{id}" (HTTP-GET) If a new Abfallstrom entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/abfallstrom" (HTTP-POST) If an existing Abfallstrom entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/abfallstrom/{id}" (HTTP-PUT) If an existing Abfallstrom entity has to be deleted, the following relative URL should be called: "/AbfallartService/abfallstrom/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sammelereignis columns: - column: Sammelfahrzeug - column: Abfallstrom - column: GesammelteMengeTonnen - column: SammelDatumZeit - column: Sammelroute The table should have the title "Sammelereigniss" und the data must be loaded from the server with the following relative URL: "/AbfallwirtschaftsplanService/sammelereignis/abfallstrom/{id}" Add a HTML table to the view with the following Behandlungsvorgang columns: - column: Abfallstrom - column: Behandlungsart - column: EingangsmengeTonnen - column: AusgangsmengeTonnen - column: VorgangsDatum - column: Anlage - column: EnergieRueckgewinnungMWh 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: ZielAnlage - column: QuelleAnlage - column: Abfallstrom - column: TransportDatum - column: ZielDeponie - column: TransportMengeTonnen - column: Transportart The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfalltransport/abfallstrom/{id}" 3. The AbfalltransportView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: QuelleAnlage type: Anlage - name: Transportart type: Transportart - name: TransportDatum type: DATE - name: TransportMengeTonnen type: STRING - name: ZielAnlage type: Anlage - name: ZielDeponie type: Deponie The data source for the [ZielAnlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [ZielDeponie] select control should be loaded from the relative URL: "/AkteurService/deponie" (HTTP-GET) The data source for the [QuelleAnlage] select control should be loaded from the relative URL: "/AnlageService/anlage" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallartService/abfallstrom" (HTTP-GET) The data source for the [Transportart] select control should be loaded from the relative URL: "/AbfallartService/transportart" (HTTP-GET) An existing Abfalltransport entity should be loaded from the relative URL: "/AbfallartService/abfalltransport/{id}" (HTTP-GET) If a new Abfalltransport entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/abfalltransport" (HTTP-POST) If an existing Abfalltransport entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/abfalltransport/{id}" (HTTP-PUT) If an existing Abfalltransport entity has to be deleted, the following relative URL should be called: "/AbfallartService/abfalltransport/{id}" (HTTP-DELETE) 4. The TransportartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Transportart entity should be loaded from the relative URL: "/AbfallartService/transportart/{id}" (HTTP-GET) If a new Transportart entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/transportart" (HTTP-POST) If an existing Transportart entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/transportart/{id}" (HTTP-PUT) If an existing Transportart entity has to be deleted, the following relative URL should be called: "/AbfallartService/transportart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfalltransport columns: - column: ZielAnlage - column: QuelleAnlage - column: Abfallstrom - column: TransportDatum - column: ZielDeponie - column: TransportMengeTonnen - column: Transportart The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/AbfallartService/abfalltransport/transportart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum