Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinsatzartApp
Please create a React-JS application for the EinsatzartModule. The application has to offer the following views for the user interface: 1. EinsatzView 2. EinsatzartView 3. ZugtruppView 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 EinsatzView must contain the following fields: - name: Beschreibung type: STRING - name: Bundesland type: STRING - name: Einsatzart type: Einsatzart - name: EndDatum type: DATE - name: IstAuslandseinsatz type: BOOL - name: IstKatastrophenschutz type: BOOL - name: IstZivilschutz type: BOOL - name: Land type: STRING - name: Stadt type: STRING - name: StartDatum type: DATE - name: Titel type: STRING The data source for the [Einsatzart] select control should be loaded from the relative URL: "/EinsatzartService/einsatzart" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/EinsatzartService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/EinsatzartService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzartService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/EinsatzartService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzBeteiligteEinheit columns: - column: Ortsverband - column: Auslandseinheit - column: TechnischerZug - column: Einsatz - column: Rollenbeschreibung - column: Fachgruppe - column: Bergungsgruppe The table should have the title "EinsatzBeteiligteEinheits" und the data must be loaded from the server with the following relative URL: "/OrtsverbandService/einsatzbeteiligteeinheit/einsatz/{id}" 2. The EinsatzartView must contain the following fields: - name: Beschreibung type: STRING - name: IstInternational type: BOOL - name: Name type: STRING An existing Einsatzart entity should be loaded from the relative URL: "/EinsatzartService/einsatzart/{id}" (HTTP-GET) If a new Einsatzart entity has been created, the new entity should be posted to the relative URL: "/EinsatzartService/einsatzart" (HTTP-POST) If an existing Einsatzart entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzartService/einsatzart/{id}" (HTTP-PUT) If an existing Einsatzart entity has to be deleted, the following relative URL should be called: "/EinsatzartService/einsatzart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Einsatz columns: - column: Beschreibung - column: IstZivilschutz - column: Einsatzart - column: StartDatum - column: Land - column: IstKatastrophenschutz - column: EndDatum - column: Titel - column: Bundesland - column: IstAuslandseinsatz - column: Stadt The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EinsatzartService/einsatz/einsatzart/{id}" 3. The ZugtruppView must contain the following fields: - name: Name type: STRING - name: TechnischerZug type: TechnischerZug The data source for the [TechnischerZug] select control should be loaded from the relative URL: "/TechnischerZugService/technischerzug" (HTTP-GET) An existing Zugtrupp entity should be loaded from the relative URL: "/EinsatzartService/zugtrupp/{id}" (HTTP-GET) If a new Zugtrupp entity has been created, the new entity should be posted to the relative URL: "/EinsatzartService/zugtrupp" (HTTP-POST) If an existing Zugtrupp entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzartService/zugtrupp/{id}" (HTTP-PUT) If an existing Zugtrupp entity has to be deleted, the following relative URL should be called: "/EinsatzartService/zugtrupp/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum