Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ZustandsEbeneApp
Please create a React-JS application for the ZustandsEbeneModule. The application has to offer the following views for the user interface: 1. BeamterView 2. DienstgradView 3. PolizeiEinheitView 4. ZustandsEbeneView 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 BeamterView must contain the following fields: - name: Aktiv type: BOOL - name: Dienstgrad type: Dienstgrad - name: Dienstnummer type: STRING - name: Einstellungsdatum type: DATE - name: Geburtsdatum type: DATE - name: Nachname type: STRING - name: Notizen type: STRING - name: Polizei type: Polizei - name: Vorname type: STRING The data source for the [Dienstgrad] select control should be loaded from the relative URL: "/ZustandsEbeneService/dienstgrad" (HTTP-GET) The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing Beamter entity should be loaded from the relative URL: "/ZustandsEbeneService/beamter/{id}" (HTTP-GET) If a new Beamter entity has been created, the new entity should be posted to the relative URL: "/ZustandsEbeneService/beamter" (HTTP-POST) If an existing Beamter entity has been updated, the modified entity should be sent to the relative URL: "/ZustandsEbeneService/beamter/{id}" (HTTP-PUT) If an existing Beamter entity has to be deleted, the following relative URL should be called: "/ZustandsEbeneService/beamter/{id}" (HTTP-DELETE) 2. The DienstgradView must contain the following fields: - name: Abkuerzung type: STRING - name: IstMilitaerisch type: BOOL - name: Name type: STRING - name: Polizei type: Polizei - name: RangStufe type: INT The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing Dienstgrad entity should be loaded from the relative URL: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-GET) If a new Dienstgrad entity has been created, the new entity should be posted to the relative URL: "/ZustandsEbeneService/dienstgrad" (HTTP-POST) If an existing Dienstgrad entity has been updated, the modified entity should be sent to the relative URL: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-PUT) If an existing Dienstgrad entity has to be deleted, the following relative URL should be called: "/ZustandsEbeneService/dienstgrad/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beamter columns: - column: Geburtsdatum - column: Notizen - column: Polizei - column: Dienstnummer - column: Dienstgrad - column: Nachname - column: Vorname - column: Aktiv - column: Einstellungsdatum The table should have the title "Beamters" und the data must be loaded from the server with the following relative URL: "/ZustandsEbeneService/beamter/dienstgrad/{id}" 3. The PolizeiEinheitView must contain the following fields: - name: Beschreibung type: STRING - name: EinheitTyp type: STRING - name: Name type: STRING - name: OberEinheit type: INT - name: Polizei type: Polizei The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing PolizeiEinheit entity should be loaded from the relative URL: "/ZustandsEbeneService/polizeieinheit/{id}" (HTTP-GET) If a new PolizeiEinheit entity has been created, the new entity should be posted to the relative URL: "/ZustandsEbeneService/polizeieinheit" (HTTP-POST) If an existing PolizeiEinheit entity has been updated, the modified entity should be sent to the relative URL: "/ZustandsEbeneService/polizeieinheit/{id}" (HTTP-PUT) If an existing PolizeiEinheit entity has to be deleted, the following relative URL should be called: "/ZustandsEbeneService/polizeieinheit/{id}" (HTTP-DELETE) 4. The ZustandsEbeneView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing ZustandsEbene entity should be loaded from the relative URL: "/ZustandsEbeneService/zustandsebene/{id}" (HTTP-GET) If a new ZustandsEbene entity has been created, the new entity should be posted to the relative URL: "/ZustandsEbeneService/zustandsebene" (HTTP-POST) If an existing ZustandsEbene entity has been updated, the modified entity should be sent to the relative URL: "/ZustandsEbeneService/zustandsebene/{id}" (HTTP-PUT) If an existing ZustandsEbene entity has to be deleted, the following relative URL should be called: "/ZustandsEbeneService/zustandsebene/{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/zustandsebene/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum