Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AusruestungApp
Please create a React-JS application for the AusruestungModule. The application has to offer the following views for the user interface: 1. AusruestungView 2. PolizeiAufgabeView 3. PolizeiAufgabeZuordnungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The AusruestungView must contain the following fields: - name: AusruestungTyp type: STRING - name: Beschreibung type: STRING - name: Name type: STRING An existing Ausruestung entity should be loaded from the relative URL: "/AusruestungService/ausruestung/{id}" (HTTP-GET) If a new Ausruestung entity has been created, the new entity should be posted to the relative URL: "/AusruestungService/ausruestung" (HTTP-POST) If an existing Ausruestung entity has been updated, the modified entity should be sent to the relative URL: "/AusruestungService/ausruestung/{id}" (HTTP-PUT) If an existing Ausruestung entity has to be deleted, the following relative URL should be called: "/AusruestungService/ausruestung/{id}" (HTTP-DELETE) 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/ausruestung/{id}" 2. The PolizeiAufgabeView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing PolizeiAufgabe entity should be loaded from the relative URL: "/AusruestungService/polizeiaufgabe/{id}" (HTTP-GET) If a new PolizeiAufgabe entity has been created, the new entity should be posted to the relative URL: "/AusruestungService/polizeiaufgabe" (HTTP-POST) If an existing PolizeiAufgabe entity has been updated, the modified entity should be sent to the relative URL: "/AusruestungService/polizeiaufgabe/{id}" (HTTP-PUT) If an existing PolizeiAufgabe entity has to be deleted, the following relative URL should be called: "/AusruestungService/polizeiaufgabe/{id}" (HTTP-DELETE) 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/polizeiaufgabe/{id}" 3. The PolizeiAufgabeZuordnungView must contain the following fields: - name: Notizen type: STRING - name: Polizei type: Polizei - name: PolizeiAufgabe type: PolizeiAufgabe - name: Primaer type: BOOL The data source for the [Polizei] select control should be loaded from the relative URL: "/PolizeiService/polizei" (HTTP-GET) The data source for the [PolizeiAufgabe] select control should be loaded from the relative URL: "/AusruestungService/polizeiaufgabe" (HTTP-GET) An existing PolizeiAufgabeZuordnung entity should be loaded from the relative URL: "/AusruestungService/polizeiaufgabezuordnung/{id}" (HTTP-GET) If a new PolizeiAufgabeZuordnung entity has been created, the new entity should be posted to the relative URL: "/AusruestungService/polizeiaufgabezuordnung" (HTTP-POST) If an existing PolizeiAufgabeZuordnung entity has been updated, the modified entity should be sent to the relative URL: "/AusruestungService/polizeiaufgabezuordnung/{id}" (HTTP-PUT) If an existing PolizeiAufgabeZuordnung entity has to be deleted, the following relative URL should be called: "/AusruestungService/polizeiaufgabezuordnung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum