Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinsatzView
Please create a React-JS view called "EinsatzView" for the fields of the Einsatz entity. 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum