Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GesetzApp
Please create a React-JS application for the GesetzModule. The application has to offer the following views for the user interface: 1. BahnuebergangSignalView 2. BahnuebergangUeberwachungView 3. GesetzView 4. UeberwachungsartView 5. WarnmittelView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The BahnuebergangSignalView must contain the following fields: - name: BahnSignal type: BOOL - name: Bahnuebergang type: Bahnuebergang - name: Signalart type: Signalart - name: StrassenSignal type: BOOL The data source for the [Signalart] select control should be loaded from the relative URL: "/LandService/signalart" (HTTP-GET) The data source for the [Bahnuebergang] select control should be loaded from the relative URL: "/BahnuebergangService/bahnuebergang" (HTTP-GET) An existing BahnuebergangSignal entity should be loaded from the relative URL: "/GesetzService/bahnuebergangsignal/{id}" (HTTP-GET) If a new BahnuebergangSignal entity has been created, the new entity should be posted to the relative URL: "/GesetzService/bahnuebergangsignal" (HTTP-POST) If an existing BahnuebergangSignal entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/bahnuebergangsignal/{id}" (HTTP-PUT) If an existing BahnuebergangSignal entity has to be deleted, the following relative URL should be called: "/GesetzService/bahnuebergangsignal/{id}" (HTTP-DELETE) 2. The BahnuebergangUeberwachungView must contain the following fields: - name: Bahnuebergang type: Bahnuebergang - name: Ueberwachungsart type: Ueberwachungsart The data source for the [Bahnuebergang] select control should be loaded from the relative URL: "/BahnuebergangService/bahnuebergang" (HTTP-GET) The data source for the [Ueberwachungsart] select control should be loaded from the relative URL: "/GesetzService/ueberwachungsart" (HTTP-GET) An existing BahnuebergangUeberwachung entity should be loaded from the relative URL: "/GesetzService/bahnuebergangueberwachung/{id}" (HTTP-GET) If a new BahnuebergangUeberwachung entity has been created, the new entity should be posted to the relative URL: "/GesetzService/bahnuebergangueberwachung" (HTTP-POST) If an existing BahnuebergangUeberwachung entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/bahnuebergangueberwachung/{id}" (HTTP-PUT) If an existing BahnuebergangUeberwachung entity has to be deleted, the following relative URL should be called: "/GesetzService/bahnuebergangueberwachung/{id}" (HTTP-DELETE) 3. The GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Kuerzel type: STRING - name: Land type: Land - name: Name type: STRING - name: Paragraph type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gesetz entity should be loaded from the relative URL: "/GesetzService/gesetz/{id}" (HTTP-GET) If a new Gesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/gesetz" (HTTP-POST) If an existing Gesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/gesetz/{id}" (HTTP-PUT) If an existing Gesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/gesetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangGesetz columns: - column: Bahnuebergang - column: Gesetz - column: Hinweis The table should have the title "BahnuebergangGesetzs" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnueberganggesetz/gesetz/{id}" 4. The UeberwachungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Ueberwachungsart entity should be loaded from the relative URL: "/GesetzService/ueberwachungsart/{id}" (HTTP-GET) If a new Ueberwachungsart entity has been created, the new entity should be posted to the relative URL: "/GesetzService/ueberwachungsart" (HTTP-POST) If an existing Ueberwachungsart entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/ueberwachungsart/{id}" (HTTP-PUT) If an existing Ueberwachungsart entity has to be deleted, the following relative URL should be called: "/GesetzService/ueberwachungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangUeberwachung columns: - column: Bahnuebergang - column: Ueberwachungsart The table should have the title "BahnuebergangUeberwachungs" und the data must be loaded from the server with the following relative URL: "/GesetzService/bahnuebergangueberwachung/ueberwachungsart/{id}" 5. The WarnmittelView must contain the following fields: - name: Akustisch type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: Kategorie type: STRING - name: Name type: STRING - name: Optisch type: BOOL An existing Warnmittel entity should be loaded from the relative URL: "/GesetzService/warnmittel/{id}" (HTTP-GET) If a new Warnmittel entity has been created, the new entity should be posted to the relative URL: "/GesetzService/warnmittel" (HTTP-POST) If an existing Warnmittel entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/warnmittel/{id}" (HTTP-PUT) If an existing Warnmittel entity has to be deleted, the following relative URL should be called: "/GesetzService/warnmittel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangWarnmittel columns: - column: Warnmittel - column: PrimaeresWarnmittel - column: Positionsbeschreibung - column: Bahnuebergang The table should have the title "BahnuebergangWarnmittels" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergangwarnmittel/warnmittel/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum