Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinsatzApp
Please create a React-JS application for the EinsatzModule. The application has to offer the following views for the user interface: 1. EinsatzView 2. EinsatzArtView 3. EinsatzAufgabeView 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: Breitengrad type: STRING - name: EinsatzArt type: EinsatzArt - name: Einsatzort type: STRING - name: Endzeit type: DATE - name: Feuerwehr type: Feuerwehr - name: GerettetePersonen type: INT - name: Laengengrad type: STRING - name: Startzeit type: DATE - name: VerstorbenePersonen type: INT The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) The data source for the [EinsatzArt] select control should be loaded from the relative URL: "/EinsatzService/einsatzart" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/EinsatzService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/EinsatzService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/EinsatzService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzAufgabe columns: - column: Einsatz - column: Aufgabe The table should have the title "EinsatzAufgabes" und the data must be loaded from the server with the following relative URL: "/EinsatzService/einsatzaufgabe/einsatz/{id}" 2. The EinsatzArtView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing EinsatzArt entity should be loaded from the relative URL: "/EinsatzService/einsatzart/{id}" (HTTP-GET) If a new EinsatzArt entity has been created, the new entity should be posted to the relative URL: "/EinsatzService/einsatzart" (HTTP-POST) If an existing EinsatzArt entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzService/einsatzart/{id}" (HTTP-PUT) If an existing EinsatzArt entity has to be deleted, the following relative URL should be called: "/EinsatzService/einsatzart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Einsatz columns: - column: EinsatzArt - column: GerettetePersonen - column: Einsatzort - column: Endzeit - column: VerstorbenePersonen - column: Startzeit - column: Beschreibung - column: Feuerwehr - column: Breitengrad - column: Laengengrad The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EinsatzService/einsatz/einsatzart/{id}" 3. The EinsatzAufgabeView must contain the following fields: - name: Aufgabe type: Aufgabe - name: Einsatz type: Einsatz The data source for the [Einsatz] select control should be loaded from the relative URL: "/EinsatzService/einsatz" (HTTP-GET) The data source for the [Aufgabe] select control should be loaded from the relative URL: "/AufgabeService/aufgabe" (HTTP-GET) An existing EinsatzAufgabe entity should be loaded from the relative URL: "/EinsatzService/einsatzaufgabe/{id}" (HTTP-GET) If a new EinsatzAufgabe entity has been created, the new entity should be posted to the relative URL: "/EinsatzService/einsatzaufgabe" (HTTP-POST) If an existing EinsatzAufgabe entity has been updated, the modified entity should be sent to the relative URL: "/EinsatzService/einsatzaufgabe/{id}" (HTTP-PUT) If an existing EinsatzAufgabe entity has to be deleted, the following relative URL should be called: "/EinsatzService/einsatzaufgabe/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum