Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NotrufView
Please create a React-JS view called "NotrufView" for the fields of the Notruf entity. The NotrufView must contain the following fields: - name: AnruferName type: STRING - name: AnruferTelefon type: STRING - name: Beschreibung type: STRING - name: Eingangszeit type: DATE - name: Leitstelle type: Leitstelle - name: OrtBeschreibung type: STRING - name: Prioritaet type: STRING - name: Rufnummer type: STRING The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing Notruf entity should be loaded from the relative URL: "/SchichtService/notruf/{id}" (HTTP-GET) If a new Notruf entity has been created, the new entity should be posted to the relative URL: "/SchichtService/notruf" (HTTP-POST) If an existing Notruf entity has been updated, the modified entity should be sent to the relative URL: "/SchichtService/notruf/{id}" (HTTP-PUT) If an existing Notruf entity has to be deleted, the following relative URL should be called: "/SchichtService/notruf/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Einsatz columns: - column: Einsatzende - column: Leitstelle - column: Einsatzbeginn - column: Einsatzart - column: Bemerkung - column: AusnahmezustandAusgerufen - column: Notruf - column: Einsatzort The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/einsatz/notruf/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum