Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PolizeiApp
Please create a React-JS application for the PolizeiModule. The application has to offer the following views for the user interface: 1. MinisteriumView 2. MissionTeilnahmeView 3. PolizeiView 4. PolizeiAusruestungView 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 MinisteriumView must contain the following fields: - name: Beschreibung type: STRING - name: Land type: Land - name: MinisteriumTyp type: STRING - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Ministerium entity should be loaded from the relative URL: "/PolizeiService/ministerium/{id}" (HTTP-GET) If a new Ministerium entity has been created, the new entity should be posted to the relative URL: "/PolizeiService/ministerium" (HTTP-POST) If an existing Ministerium entity has been updated, the modified entity should be sent to the relative URL: "/PolizeiService/ministerium/{id}" (HTTP-PUT) If an existing Ministerium entity has to be deleted, the following relative URL should be called: "/PolizeiService/ministerium/{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/ministerium/{id}" 2. The MissionTeilnahmeView must contain the following fields: - name: Mission type: Mission - name: Notizen type: STRING - name: PersonalAnzahl type: INT - name: Polizei type: Polizei - name: Rolle type: STRING The data source for the [Mission] select control should be loaded from the relative URL: "/InternationaleOrganisationService/mission" (HTTP-GET) The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing MissionTeilnahme entity should be loaded from the relative URL: "/PolizeiService/missionteilnahme/{id}" (HTTP-GET) If a new MissionTeilnahme entity has been created, the new entity should be posted to the relative URL: "/PolizeiService/missionteilnahme" (HTTP-POST) If an existing MissionTeilnahme entity has been updated, the modified entity should be sent to the relative URL: "/PolizeiService/missionteilnahme/{id}" (HTTP-PUT) If an existing MissionTeilnahme entity has to be deleted, the following relative URL should be called: "/PolizeiService/missionteilnahme/{id}" (HTTP-DELETE) 3. The PolizeiView must contain the following fields: - name: Abkuerzung type: STRING - name: Gruendungsdatum type: DATE - name: Hauptsitz type: STRING - name: IstMilitaerisch type: BOOL - name: Land type: Land - name: Ministerium type: Ministerium - name: Name type: STRING - name: Notizen type: STRING - name: PolizeiArt type: PolizeiArt - name: ZustandsEbene type: ZustandsEbene The data source for the [Ministerium] select control should be loaded from the relative URL: "/PolizeiService/ministerium" (HTTP-GET) The data source for the [PolizeiArt] select control should be loaded from the relative URL: "/GesetzService/polizeiart" (HTTP-GET) The data source for the [ZustandsEbene] select control should be loaded from the relative URL: "/ZustandsEbeneService/zustandsebene" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Polizei entity should be loaded from the relative URL: "/PolizeiService/polizei/{id}" (HTTP-GET) If a new Polizei entity has been created, the new entity should be posted to the relative URL: "/PolizeiService/polizei" (HTTP-POST) If an existing Polizei entity has been updated, the modified entity should be sent to the relative URL: "/PolizeiService/polizei/{id}" (HTTP-PUT) If an existing Polizei entity has to be deleted, the following relative URL should be called: "/PolizeiService/polizei/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrzeug columns: - column: Hersteller - column: IstGepanzert - column: Polizei - column: Notizen - column: Rufname - column: Modell - column: FahrzeugTyp - column: Kennzeichen - column: SeitDatum The table should have the title "Fahrzeugs" und the data must be loaded from the server with the following relative URL: "/GesetzService/fahrzeug/polizei/{id}" Add a HTML table to the view with the following PolizeiAufgabeZuordnung columns: - column: Notizen - column: Polizei - column: Primaer - column: PolizeiAufgabe The table should have the title "PolizeiAufgabeZuordnungs" und the data must be loaded from the server with the following relative URL: "/AusruestungService/polizeiaufgabezuordnung/polizei/{id}" 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/polizei/{id}" Add a HTML table to the view with the following PolizeiEinheit columns: - column: Name - column: Beschreibung - column: EinheitTyp - column: OberEinheit - column: Polizei The table should have the title "PolizeiEinheits" und the data must be loaded from the server with the following relative URL: "/ZustandsEbeneService/polizeieinheit/polizei/{id}" 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/polizei/{id}" Add a HTML table to the view with the following PolizeiDienststelle columns: - column: Name - column: Breitengrad - column: Adresse - column: LandRef - column: Polizei - column: Stadt - column: Laengengrad - column: Region - column: DienststelleTyp The table should have the title "PolizeiDienststelles" und the data must be loaded from the server with the following relative URL: "/LandService/polizeidienststelle/polizei/{id}" Add a HTML table to the view with the following Dienstgrad columns: - column: RangStufe - column: IstMilitaerisch - column: Polizei - column: Name - column: Abkuerzung The table should have the title "Dienstgrads" und the data must be loaded from the server with the following relative URL: "/ZustandsEbeneService/dienstgrad/polizei/{id}" Add a HTML table to the view with the following MissionTeilnahme columns: - column: Mission - column: PersonalAnzahl - column: Polizei - column: Rolle - column: Notizen The table should have the title "MissionTeilnahmes" und the data must be loaded from the server with the following relative URL: "/PolizeiService/missionteilnahme/polizei/{id}" Add a HTML table to the view with the following PolizeiAusruestung columns: - column: Notizen - column: Menge - column: Polizei - column: Ausruestung The table should have the title "PolizeiAusruestungs" und the data must be loaded from the server with the following relative URL: "/PolizeiService/polizeiausruestung/polizei/{id}" 4. The PolizeiAusruestungView must contain the following fields: - name: Ausruestung type: Ausruestung - name: Menge type: INT - name: Notizen type: STRING - name: Polizei type: Polizei The data source for the [Ausruestung] select control should be loaded from the relative URL: "/AusruestungService/ausruestung" (HTTP-GET) The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) An existing PolizeiAusruestung entity should be loaded from the relative URL: "/PolizeiService/polizeiausruestung/{id}" (HTTP-GET) If a new PolizeiAusruestung entity has been created, the new entity should be posted to the relative URL: "/PolizeiService/polizeiausruestung" (HTTP-POST) If an existing PolizeiAusruestung entity has been updated, the modified entity should be sent to the relative URL: "/PolizeiService/polizeiausruestung/{id}" (HTTP-PUT) If an existing PolizeiAusruestung entity has to be deleted, the following relative URL should be called: "/PolizeiService/polizeiausruestung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum