Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallfraktionApp
Please create a React-JS application for the AbfallfraktionModule. The application has to offer the following views for the user interface: 1. AbfallfraktionView 2. DienstleistungsvertragView 3. PlanZielView 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 AbfallfraktionView must contain the following fields: - name: Abfallart type: Abfallart - name: Beschreibung type: STRING - name: Name type: STRING - name: OrganischerAnteilProzent type: STRING - name: WiederverwertbarFlag type: BOOL The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing Abfallfraktion entity should be loaded from the relative URL: "/AbfallfraktionService/abfallfraktion/{id}" (HTTP-GET) If a new Abfallfraktion entity has been created, the new entity should be posted to the relative URL: "/AbfallfraktionService/abfallfraktion" (HTTP-POST) If an existing Abfallfraktion entity has been updated, the modified entity should be sent to the relative URL: "/AbfallfraktionService/abfallfraktion/{id}" (HTTP-PUT) If an existing Abfallfraktion entity has to be deleted, the following relative URL should be called: "/AbfallfraktionService/abfallfraktion/{id}" (HTTP-DELETE) 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/abfallfraktion/{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/abfallfraktion/{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/abfallfraktion/{id}" 2. The DienstleistungsvertragView must contain the following fields: - name: AuftraggeberAkteur type: Akteur - name: DienstleisterAkteur type: Akteur - name: Gemeinde type: Gemeinde - name: Kostenmodell type: STRING - name: Leistungsbeschreibung type: STRING - name: Vertragsbeginn type: DATE - name: Vertragsende type: DATE The data source for the [DienstleisterAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [AuftraggeberAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Dienstleistungsvertrag entity should be loaded from the relative URL: "/AbfallfraktionService/dienstleistungsvertrag/{id}" (HTTP-GET) If a new Dienstleistungsvertrag entity has been created, the new entity should be posted to the relative URL: "/AbfallfraktionService/dienstleistungsvertrag" (HTTP-POST) If an existing Dienstleistungsvertrag entity has been updated, the modified entity should be sent to the relative URL: "/AbfallfraktionService/dienstleistungsvertrag/{id}" (HTTP-PUT) If an existing Dienstleistungsvertrag entity has to be deleted, the following relative URL should be called: "/AbfallfraktionService/dienstleistungsvertrag/{id}" (HTTP-DELETE) 3. The PlanZielView must contain the following fields: - name: Abfallart type: Abfallart - name: Abfallfraktion type: Abfallfraktion - name: Abfallwirtschaftsplan type: Abfallwirtschaftsplan - name: ZielBeschreibung type: STRING - name: ZielEinheit type: STRING - name: ZielJahr type: LONG - name: ZielWert 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 [Abfallwirtschaftsplan] select control should be loaded from the relative URL: "/RegionService/abfallwirtschaftsplan" (HTTP-GET) The data source for the [Abfallart] select control should be loaded from the relative URL: "/AbfallartService/abfallart" (HTTP-GET) An existing PlanZiel entity should be loaded from the relative URL: "/AbfallfraktionService/planziel/{id}" (HTTP-GET) If a new PlanZiel entity has been created, the new entity should be posted to the relative URL: "/AbfallfraktionService/planziel" (HTTP-POST) If an existing PlanZiel entity has been updated, the modified entity should be sent to the relative URL: "/AbfallfraktionService/planziel/{id}" (HTTP-PUT) If an existing PlanZiel entity has to be deleted, the following relative URL should be called: "/AbfallfraktionService/planziel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum