Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehandlungsartApp
Please create a React-JS application for the BehandlungsartModule. The application has to offer the following views for the user interface: 1. BehandlungsartView 2. BehandlungsvorgangView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The BehandlungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: VerwertungFlag type: BOOL An existing Behandlungsart entity should be loaded from the relative URL: "/BehandlungsartService/behandlungsart/{id}" (HTTP-GET) If a new Behandlungsart entity has been created, the new entity should be posted to the relative URL: "/BehandlungsartService/behandlungsart" (HTTP-POST) If an existing Behandlungsart entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsartService/behandlungsart/{id}" (HTTP-PUT) If an existing Behandlungsart entity has to be deleted, the following relative URL should be called: "/BehandlungsartService/behandlungsart/{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/behandlungsart/{id}" Add a HTML table to the view with the following Behandlungsvorgang columns: - column: EnergieRueckgewinnungMWh - column: Behandlungsart - column: VorgangsDatum - column: AusgangsmengeTonnen - column: Abfallstrom - column: EingangsmengeTonnen - column: Anlage The table should have the title "Behandlungsvorgangs" und the data must be loaded from the server with the following relative URL: "/BehandlungsartService/behandlungsvorgang/behandlungsart/{id}" 2. The BehandlungsvorgangView must contain the following fields: - name: Abfallstrom type: Abfallstrom - name: Anlage type: Anlage - name: AusgangsmengeTonnen type: STRING - name: Behandlungsart type: Behandlungsart - name: EingangsmengeTonnen type: STRING - name: EnergieRueckgewinnungMWh type: STRING - name: VorgangsDatum type: DATE The data source for the [Anlage] select control should be loaded from the relative URL: "/GemeindeService/anlage" (HTTP-GET) The data source for the [Behandlungsart] select control should be loaded from the relative URL: "/BehandlungsartService/behandlungsart" (HTTP-GET) The data source for the [Abfallstrom] select control should be loaded from the relative URL: "/AbfallstromService/abfallstrom" (HTTP-GET) An existing Behandlungsvorgang entity should be loaded from the relative URL: "/BehandlungsartService/behandlungsvorgang/{id}" (HTTP-GET) If a new Behandlungsvorgang entity has been created, the new entity should be posted to the relative URL: "/BehandlungsartService/behandlungsvorgang" (HTTP-POST) If an existing Behandlungsvorgang entity has been updated, the modified entity should be sent to the relative URL: "/BehandlungsartService/behandlungsvorgang/{id}" (HTTP-PUT) If an existing Behandlungsvorgang entity has to be deleted, the following relative URL should be called: "/BehandlungsartService/behandlungsvorgang/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum