Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechtsanforderungApp
Please create a React-JS application for the RechtsanforderungModule. The application has to offer the following views for the user interface: 1. AnlagenKonformitaetView 2. HistorischesEreignisView 3. RechtsanforderungView 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 AnlagenKonformitaetView must contain the following fields: - name: Anlage type: Anlage - name: Bemerkungen type: STRING - name: KonformFlag type: BOOL - name: PruefDatum type: DATE - name: Rechtsanforderung type: Rechtsanforderung The data source for the [Rechtsanforderung] select control should be loaded from the relative URL: "/RechtsanforderungService/rechtsanforderung" (HTTP-GET) The data source for the [Anlage] select control should be loaded from the relative URL: "/GemeindeService/anlage" (HTTP-GET) An existing AnlagenKonformitaet entity should be loaded from the relative URL: "/RechtsanforderungService/anlagenkonformitaet/{id}" (HTTP-GET) If a new AnlagenKonformitaet entity has been created, the new entity should be posted to the relative URL: "/RechtsanforderungService/anlagenkonformitaet" (HTTP-POST) If an existing AnlagenKonformitaet entity has been updated, the modified entity should be sent to the relative URL: "/RechtsanforderungService/anlagenkonformitaet/{id}" (HTTP-PUT) If an existing AnlagenKonformitaet entity has to be deleted, the following relative URL should be called: "/RechtsanforderungService/anlagenkonformitaet/{id}" (HTTP-DELETE) 2. The HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EreignisDatum type: DATE - name: Gemeinde type: Gemeinde - name: Land type: Land - 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 [Land] select control should be loaded from the relative URL: "/AkteurService/land" (HTTP-GET) An existing HistorischesEreignis entity should be loaded from the relative URL: "/RechtsanforderungService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/RechtsanforderungService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/RechtsanforderungService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/RechtsanforderungService/historischesereignis/{id}" (HTTP-DELETE) 3. The RechtsanforderungView must contain the following fields: - name: AnforderungCode type: STRING - name: Beschreibung type: STRING - name: Rechtsinstrument type: Rechtsinstrument - name: Titel type: STRING The data source for the [Rechtsinstrument] select control should be loaded from the relative URL: "/AkteurService/rechtsinstrument" (HTTP-GET) An existing Rechtsanforderung entity should be loaded from the relative URL: "/RechtsanforderungService/rechtsanforderung/{id}" (HTTP-GET) If a new Rechtsanforderung entity has been created, the new entity should be posted to the relative URL: "/RechtsanforderungService/rechtsanforderung" (HTTP-POST) If an existing Rechtsanforderung entity has been updated, the modified entity should be sent to the relative URL: "/RechtsanforderungService/rechtsanforderung/{id}" (HTTP-PUT) If an existing Rechtsanforderung entity has to be deleted, the following relative URL should be called: "/RechtsanforderungService/rechtsanforderung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Grenzwert columns: - column: Mittelungszeitraum - column: Grenzwert - column: Rechtsanforderung - column: Parameter - column: Einheit The table should have the title "Grenzwerts" und the data must be loaded from the server with the following relative URL: "/DeponieService/grenzwert/rechtsanforderung/{id}" Add a HTML table to the view with the following AnlagenKonformitaet columns: - column: Bemerkungen - column: Anlage - column: KonformFlag - column: Rechtsanforderung - column: PruefDatum The table should have the title "AnlagenKonformitaets" und the data must be loaded from the server with the following relative URL: "/RechtsanforderungService/anlagenkonformitaet/rechtsanforderung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum