Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DeponieApp
Please create a React-JS application for the DeponieModule. The application has to offer the following views for the user interface: 1. AbfalltransportView 2. DeponieView 3. GrenzwertView 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 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: "/GemeindeService/anlage" (HTTP-GET) The data source for the [ZielDeponie] select control should be loaded from the relative URL: "/DeponieService/deponie" (HTTP-GET) The data source for the [QuelleAnlage] select control should be loaded from the relative URL: "/GemeindeService/anlage" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) The data source for the [Transportart] select control should be loaded from the relative URL: "/SammelfahrzeugService/transportart" (HTTP-GET) An existing Abfalltransport entity should be loaded from the relative URL: "/DeponieService/abfalltransport/{id}" (HTTP-GET) If a new Abfalltransport entity has been created, the new entity should be posted to the relative URL: "/DeponieService/abfalltransport" (HTTP-POST) If an existing Abfalltransport entity has been updated, the modified entity should be sent to the relative URL: "/DeponieService/abfalltransport/{id}" (HTTP-PUT) If an existing Abfalltransport entity has to be deleted, the following relative URL should be called: "/DeponieService/abfalltransport/{id}" (HTTP-DELETE) 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: "/DeponieService/deponie/{id}" (HTTP-GET) If a new Deponie entity has been created, the new entity should be posted to the relative URL: "/DeponieService/deponie" (HTTP-POST) If an existing Deponie entity has been updated, the modified entity should be sent to the relative URL: "/DeponieService/deponie/{id}" (HTTP-PUT) If an existing Deponie entity has to be deleted, the following relative URL should be called: "/DeponieService/deponie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abfalltransport columns: - column: TransportDatum - column: ZielDeponie - column: Transportart - column: ZielAnlage - column: Abfallstrom - column: QuelleAnlage - column: TransportMengeTonnen The table should have the title "Abfalltransports" und the data must be loaded from the server with the following relative URL: "/DeponieService/abfalltransport/zieldeponie/{id}" 3. The GrenzwertView must contain the following fields: - name: Einheit type: STRING - name: Grenzwert type: STRING - name: Mittelungszeitraum type: STRING - name: Parameter type: STRING - name: Rechtsanforderung type: Rechtsanforderung The data source for the [Rechtsanforderung] select control should be loaded from the relative URL: "/RechtsanforderungService/rechtsanforderung" (HTTP-GET) An existing Grenzwert entity should be loaded from the relative URL: "/DeponieService/grenzwert/{id}" (HTTP-GET) If a new Grenzwert entity has been created, the new entity should be posted to the relative URL: "/DeponieService/grenzwert" (HTTP-POST) If an existing Grenzwert entity has been updated, the modified entity should be sent to the relative URL: "/DeponieService/grenzwert/{id}" (HTTP-PUT) If an existing Grenzwert entity has to be deleted, the following relative URL should be called: "/DeponieService/grenzwert/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum