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. FahrzeugView 2. GesetzView 3. PolizeiArtView 4. PolizeiGesetzView 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 FahrzeugView must contain the following fields: - name: FahrzeugTyp type: STRING - name: Hersteller type: STRING - name: IstGepanzert type: BOOL - name: Kennzeichen type: STRING - name: Modell type: STRING - name: Notizen type: STRING - name: Polizei type: Polizei - name: Rufname type: STRING - name: SeitDatum type: DATE The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing Fahrzeug entity should be loaded from the relative URL: "/GesetzService/fahrzeug/{id}" (HTTP-GET) If a new Fahrzeug entity has been created, the new entity should be posted to the relative URL: "/GesetzService/fahrzeug" (HTTP-POST) If an existing Fahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/fahrzeug/{id}" (HTTP-PUT) If an existing Fahrzeug entity has to be deleted, the following relative URL should be called: "/GesetzService/fahrzeug/{id}" (HTTP-DELETE) 2. The GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: GesetzTyp type: STRING - name: InkraftDatum type: DATE - name: Land type: Land - name: Name type: STRING - name: Zitierung 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 PolizeiGesetz columns: - column: Notizen - column: Polizei - column: Rolle - column: Gesetz The table should have the title "PolizeiGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/polizeigesetz/gesetz/{id}" 3. The PolizeiArtView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing PolizeiArt entity should be loaded from the relative URL: "/GesetzService/polizeiart/{id}" (HTTP-GET) If a new PolizeiArt entity has been created, the new entity should be posted to the relative URL: "/GesetzService/polizeiart" (HTTP-POST) If an existing PolizeiArt entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/polizeiart/{id}" (HTTP-PUT) If an existing PolizeiArt entity has to be deleted, the following relative URL should be called: "/GesetzService/polizeiart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Polizei columns: - column: IstMilitaerisch - column: Abkuerzung - column: PolizeiArt - column: Land - column: Notizen - column: Ministerium - column: Name - column: Hauptsitz - column: Gruendungsdatum - column: ZustandsEbene The table should have the title "Polizeis" und the data must be loaded from the server with the following relative URL: "/PolizeiService/polizei/polizeiart/{id}" 4. The PolizeiGesetzView must contain the following fields: - name: Gesetz type: Gesetz - name: Notizen type: STRING - name: Polizei type: Polizei - name: Rolle type: STRING The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing PolizeiGesetz entity should be loaded from the relative URL: "/GesetzService/polizeigesetz/{id}" (HTTP-GET) If a new PolizeiGesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/polizeigesetz" (HTTP-POST) If an existing PolizeiGesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/polizeigesetz/{id}" (HTTP-PUT) If an existing PolizeiGesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/polizeigesetz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum