Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AkteurApp
Please create a React-JS application for the AkteurModule. The application has to offer the following views for the user interface: 1. AkteurView 2. DeponieView 3. DienstleistungsvertragView 4. SammelfahrzeugView 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 AkteurView must contain the following fields: - name: Adresszeile type: STRING - name: AkteurTyp type: STRING - name: KontaktEmail type: STRING - name: KontaktTelefon type: STRING - name: Land type: Land - name: Name type: STRING - name: Postleitzahl type: STRING - name: Rechtsform type: STRING - name: Stadt type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/GemeindeService/land" (HTTP-GET) An existing Akteur entity should be loaded from the relative URL: "/AkteurService/akteur/{id}" (HTTP-GET) If a new Akteur entity has been created, the new entity should be posted to the relative URL: "/AkteurService/akteur" (HTTP-POST) If an existing Akteur entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/akteur/{id}" (HTTP-PUT) If an existing Akteur entity has to be deleted, the following relative URL should be called: "/AkteurService/akteur/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Deponie columns: - column: Name - column: Gemeinde - column: BetreiberAkteur - column: DeponieTyp - column: StartDatum - column: Beschreibung - column: SchliessDatum The table should have the title "Deponies" und the data must be loaded from the server with the following relative URL: "/AkteurService/deponie/betreiberakteur/{id}" Add a HTML table to the view with the following Dienstleistungsvertrag columns: - column: Vertragsbeginn - column: DienstleisterAkteur - column: AuftraggeberAkteur - column: Leistungsbeschreibung - column: Kostenmodell - column: Gemeinde - column: Vertragsende The table should have the title "Dienstleistungsvertrags" und the data must be loaded from the server with the following relative URL: "/AkteurService/dienstleistungsvertrag/auftraggeberakteur/{id}" Add a HTML table to the view with the following Dienstleistungsvertrag columns: - column: Vertragsbeginn - column: DienstleisterAkteur - column: AuftraggeberAkteur - column: Leistungsbeschreibung - column: Kostenmodell - column: Gemeinde - column: Vertragsende The table should have the title "Dienstleistungsvertrags" und the data must be loaded from the server with the following relative URL: "/AkteurService/dienstleistungsvertrag/dienstleisterakteur/{id}" Add a HTML table to the view with the following Sammelfahrzeug columns: - column: AusserbetriebDatum - column: Kennzeichen - column: BetreiberAkteur - column: Fahrzeugtyp - column: InbetriebnahmeDatum The table should have the title "Sammelfahrzeugs" und the data must be loaded from the server with the following relative URL: "/AkteurService/sammelfahrzeug/betreiberakteur/{id}" Add a HTML table to the view with the following Anlage columns: - column: Beschreibung - column: Stadt - column: InbetriebnahmeDatum - column: Name - column: Gemeinde - column: BetreiberAkteur - column: Adresszeile - column: Postleitzahl - column: StilllegungDatum - column: AnlagenTyp The table should have the title "Anlages" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlage/betreiberakteur/{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/quelleakteur/{id}" 2. The DeponieView must contain the following fields: - name: Beschreibung type: STRING - name: BetreiberAkteur type: Akteur - name: DeponieTyp type: STRING - name: Gemeinde type: Gemeinde - name: Name type: STRING - name: SchliessDatum type: DATE - name: StartDatum type: DATE The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [BetreiberAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Deponie entity should be loaded from the relative URL: "/AkteurService/deponie/{id}" (HTTP-GET) If a new Deponie entity has been created, the new entity should be posted to the relative URL: "/AkteurService/deponie" (HTTP-POST) If an existing Deponie entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/deponie/{id}" (HTTP-PUT) If an existing Deponie entity has to be deleted, the following relative URL should be called: "/AkteurService/deponie/{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/zieldeponie/{id}" 3. 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: "/AkteurService/dienstleistungsvertrag/{id}" (HTTP-GET) If a new Dienstleistungsvertrag entity has been created, the new entity should be posted to the relative URL: "/AkteurService/dienstleistungsvertrag" (HTTP-POST) If an existing Dienstleistungsvertrag entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/dienstleistungsvertrag/{id}" (HTTP-PUT) If an existing Dienstleistungsvertrag entity has to be deleted, the following relative URL should be called: "/AkteurService/dienstleistungsvertrag/{id}" (HTTP-DELETE) 4. The SammelfahrzeugView must contain the following fields: - name: AusserbetriebDatum type: DATE - name: BetreiberAkteur type: Akteur - name: Fahrzeugtyp type: Fahrzeugtyp - name: InbetriebnahmeDatum type: DATE - name: Kennzeichen type: STRING The data source for the [BetreiberAkteur] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) The data source for the [Fahrzeugtyp] select control should be loaded from the relative URL: "/RechtsanforderungService/fahrzeugtyp" (HTTP-GET) An existing Sammelfahrzeug entity should be loaded from the relative URL: "/AkteurService/sammelfahrzeug/{id}" (HTTP-GET) If a new Sammelfahrzeug entity has been created, the new entity should be posted to the relative URL: "/AkteurService/sammelfahrzeug" (HTTP-POST) If an existing Sammelfahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/AkteurService/sammelfahrzeug/{id}" (HTTP-PUT) If an existing Sammelfahrzeug entity has to be deleted, the following relative URL should be called: "/AkteurService/sammelfahrzeug/{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/sammelfahrzeug/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum