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: AusnahmezustandAusgerufen type: BOOL - name: Bemerkung type: STRING - name: Einsatzart type: STRING - name: Einsatzbeginn type: DATE - name: Einsatzende type: DATE - name: Einsatzort type: STRING - name: Leitstelle type: Leitstelle - name: Notruf type: Notruf The data source for the [Notruf] select control should be loaded from the relative URL: "/SchichtService/notruf" (HTTP-GET) The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/LeitstelleService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/LeitstelleService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/LeitstelleService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/LeitstelleService/einsatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzEinsatzmittel columns: - column: Einsatzmittel - column: Einsatz - column: RolleImEinsatz The table should have the title "EinsatzEinsatzmittels" und the data must be loaded from the server with the following relative URL: "/DienstService/einsatzeinsatzmittel/einsatz/{id}" Add a HTML table to the view with the following Einsatzzeit columns: - column: Einsatz - column: Zeitpunkt - column: Zeittyp The table should have the title "Einsatzzeits" und the data must be loaded from the server with the following relative URL: "/RolleService/einsatzzeit/einsatz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum