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. AnlagenBehandlungsfaehigkeitView 3. GemeindeZustaendigkeitView 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 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: Abfallart - column: EndeDatum - column: Gemeinde - column: Beschreibung The table should have the title "GemeindeZustaendigkeits" und the data must be loaded from the server with the following relative URL: "/AbfallartService/gemeindezustaendigkeit/abfallart/{id}" Add a HTML table to the view with the following AnlagenBehandlungsfaehigkeit columns: - column: Anlage - column: Behandlungsart - column: Abfallart - column: Abfallfraktion - column: KapazitaetTonnenProJahr The table should have the title "AnlagenBehandlungsfaehigkeits" und the data must be loaded from the server with the following relative URL: "/AbfallartService/anlagenbehandlungsfaehigkeit/abfallart/{id}" Add a HTML table to the view with the following PlanZiel columns: - column: ZielBeschreibung - column: ZielJahr - column: Abfallfraktion - column: ZielEinheit - column: Abfallwirtschaftsplan - column: Abfallart - column: ZielWert The table should have the title "PlanZiels" und the data must be loaded from the server with the following relative URL: "/AbfallfraktionService/planziel/abfallart/{id}" Add a HTML table to the view with the following Abfallstrom columns: - column: Abfallart - column: Beschreibung - column: Entstehungsjahr - column: QuelleAkteur - column: MengeTonnenGeschaetzt - column: Abfallkategorie - column: Abfallfraktion The table should have the title "Abfallstroms" und the data must be loaded from the server with the following relative URL: "/AbfallstromService/abfallstrom/abfallart/{id}" Add a HTML table to the view with the following Abfallfraktion columns: - column: WiederverwertbarFlag - column: Name - column: OrganischerAnteilProzent - column: Beschreibung - column: Abfallart The table should have the title "Abfallfraktions" und the data must be loaded from the server with the following relative URL: "/AbfallfraktionService/abfallfraktion/abfallart/{id}" 2. The AnlagenBehandlungsfaehigkeitView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallfraktion type: Abfallfraktion - name: Anlage type: Anlage - name: Behandlungsart type: Behandlungsart - name: KapazitaetTonnenProJahr type: STRING The data source for the [Abfallfraktion] select control should be loaded from the relative URL: "/AbfallfraktionService/abfallfraktion" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/GemeindeService/anlage" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) The data source for the [Behandlungsart] select control should be loaded from the relative URL: "/BehandlungsartService/behandlungsart" (HTTP-GET) An existing AnlagenBehandlungsfaehigkeit entity should be loaded from the relative URL: "/AbfallartService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-GET) If a new AnlagenBehandlungsfaehigkeit entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/anlagenbehandlungsfaehigkeit" (HTTP-POST) If an existing AnlagenBehandlungsfaehigkeit entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-PUT) If an existing AnlagenBehandlungsfaehigkeit entity has to be deleted, the following relative URL should be called: "/AbfallartService/anlagenbehandlungsfaehigkeit/{id}" (HTTP-DELETE) 3. The GemeindeZustaendigkeitView must contain the following fields: - name: Abfallart type: Abfallart - name: BeginnDatum type: DATE - name: Beschreibung type: STRING - name: EndeDatum type: DATE - name: Gemeinde type: Gemeinde The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing GemeindeZustaendigkeit entity should be loaded from the relative URL: "/AbfallartService/gemeindezustaendigkeit/{id}" (HTTP-GET) If a new GemeindeZustaendigkeit entity has been created, the new entity should be posted to the relative URL: "/AbfallartService/gemeindezustaendigkeit" (HTTP-POST) If an existing GemeindeZustaendigkeit entity has been updated, the modified entity should be sent to the relative URL: "/AbfallartService/gemeindezustaendigkeit/{id}" (HTTP-PUT) If an existing GemeindeZustaendigkeit entity has to be deleted, the following relative URL should be called: "/AbfallartService/gemeindezustaendigkeit/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum