Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbfallwirtschaftsplanApp
Please create a React-JS application for the AbfallwirtschaftsplanModule. The application has to offer the following views for the user interface: 1. AbfallwirtschaftsplanView 2. SammelereignisView 3. SammelrouteView 4. SammelsystemView 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 AbfallwirtschaftsplanView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Land type: Land - name: PlanEbene type: STRING - name: Region type: Region - name: Titel type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/GemeindeService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/GemeindeService/land" (HTTP-GET) An existing Abfallwirtschaftsplan entity should be loaded from the relative URL: "/AbfallwirtschaftsplanService/abfallwirtschaftsplan/{id}" (HTTP-GET) If a new Abfallwirtschaftsplan entity has been created, the new entity should be posted to the relative URL: "/AbfallwirtschaftsplanService/abfallwirtschaftsplan" (HTTP-POST) If an existing Abfallwirtschaftsplan entity has been updated, the modified entity should be sent to the relative URL: "/AbfallwirtschaftsplanService/abfallwirtschaftsplan/{id}" (HTTP-PUT) If an existing Abfallwirtschaftsplan entity has to be deleted, the following relative URL should be called: "/AbfallwirtschaftsplanService/abfallwirtschaftsplan/{id}" (HTTP-DELETE) 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/abfallwirtschaftsplan/{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: "/AkteurService/sammelfahrzeug" (HTTP-GET) The data source for the [Sammelroute] select control should be loaded from the relative URL: "/AbfallwirtschaftsplanService/sammelroute" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallartService/abfallstrom" (HTTP-GET) An existing Sammelereignis entity should be loaded from the relative URL: "/AbfallwirtschaftsplanService/sammelereignis/{id}" (HTTP-GET) If a new Sammelereignis entity has been created, the new entity should be posted to the relative URL: "/AbfallwirtschaftsplanService/sammelereignis" (HTTP-POST) If an existing Sammelereignis entity has been updated, the modified entity should be sent to the relative URL: "/AbfallwirtschaftsplanService/sammelereignis/{id}" (HTTP-PUT) If an existing Sammelereignis entity has to be deleted, the following relative URL should be called: "/AbfallwirtschaftsplanService/sammelereignis/{id}" (HTTP-DELETE) 3. The SammelrouteView must contain the following fields: - name: Beschreibung type: STRING - name: FrequenzProWoche type: LONG - name: RoutenCode type: STRING - name: Sammelsystem type: Sammelsystem The data source for the [Sammelsystem] select control should be loaded from the relative URL: "/AbfallwirtschaftsplanService/sammelsystem" (HTTP-GET) An existing Sammelroute entity should be loaded from the relative URL: "/AbfallwirtschaftsplanService/sammelroute/{id}" (HTTP-GET) If a new Sammelroute entity has been created, the new entity should be posted to the relative URL: "/AbfallwirtschaftsplanService/sammelroute" (HTTP-POST) If an existing Sammelroute entity has been updated, the modified entity should be sent to the relative URL: "/AbfallwirtschaftsplanService/sammelroute/{id}" (HTTP-PUT) If an existing Sammelroute entity has to be deleted, the following relative URL should be called: "/AbfallwirtschaftsplanService/sammelroute/{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/sammelroute/{id}" 4. The SammelsystemView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: Name type: STRING - name: SystemTyp type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing Sammelsystem entity should be loaded from the relative URL: "/AbfallwirtschaftsplanService/sammelsystem/{id}" (HTTP-GET) If a new Sammelsystem entity has been created, the new entity should be posted to the relative URL: "/AbfallwirtschaftsplanService/sammelsystem" (HTTP-POST) If an existing Sammelsystem entity has been updated, the modified entity should be sent to the relative URL: "/AbfallwirtschaftsplanService/sammelsystem/{id}" (HTTP-PUT) If an existing Sammelsystem entity has to be deleted, the following relative URL should be called: "/AbfallwirtschaftsplanService/sammelsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sammelroute columns: - column: FrequenzProWoche - column: Beschreibung - column: Sammelsystem - column: RoutenCode The table should have the title "Sammelroutes" und the data must be loaded from the server with the following relative URL: "/AbfallwirtschaftsplanService/sammelroute/sammelsystem/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum