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. FahrzeugtypView 3. GrenzwertView 4. 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 4 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: "/AnlageService/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 FahrzeugtypView must contain the following fields: - name: Beschreibung type: STRING - name: Kraftstofftyp type: STRING - name: Name type: STRING An existing Fahrzeugtyp entity should be loaded from the relative URL: "/RechtsanforderungService/fahrzeugtyp/{id}" (HTTP-GET) If a new Fahrzeugtyp entity has been created, the new entity should be posted to the relative URL: "/RechtsanforderungService/fahrzeugtyp" (HTTP-POST) If an existing Fahrzeugtyp entity has been updated, the modified entity should be sent to the relative URL: "/RechtsanforderungService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing Fahrzeugtyp entity has to be deleted, the following relative URL should be called: "/RechtsanforderungService/fahrzeugtyp/{id}" (HTTP-DELETE) 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/fahrzeugtyp/{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: "/RechtsanforderungService/grenzwert/{id}" (HTTP-GET) If a new Grenzwert entity has been created, the new entity should be posted to the relative URL: "/RechtsanforderungService/grenzwert" (HTTP-POST) If an existing Grenzwert entity has been updated, the modified entity should be sent to the relative URL: "/RechtsanforderungService/grenzwert/{id}" (HTTP-PUT) If an existing Grenzwert entity has to be deleted, the following relative URL should be called: "/RechtsanforderungService/grenzwert/{id}" (HTTP-DELETE) 4. 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: "/GemeindeService/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: Parameter - column: Mittelungszeitraum - column: Einheit - column: Grenzwert - column: Rechtsanforderung The table should have the title "Grenzwerts" und the data must be loaded from the server with the following relative URL: "/RechtsanforderungService/grenzwert/rechtsanforderung/{id}" Add a HTML table to the view with the following AnlagenKonformitaet columns: - column: Rechtsanforderung - column: PruefDatum - column: Anlage - column: Bemerkungen - column: KonformFlag 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