Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ArbeitsunfallView
Please create a React-JS view called "ArbeitsunfallView" for the fields of the Arbeitsunfall entity. The ArbeitsunfallView must contain the following fields: - name: BaeckereiFiliale type: BaeckereiFiliale - name: Beschreibung type: STRING - name: Gefaehrdungstyp type: Gefaehrdungstyp - name: Mitarbeiter type: Mitarbeiter - name: UnfallDatum type: DATE - name: Verletzungsschwere type: STRING The data source for the [BaeckereiFiliale] select control should be loaded from the relative URL: "/AdresseService/baeckereifiliale" (HTTP-GET) The data source for the [Gefaehrdungstyp] select control should be loaded from the relative URL: "/MitarbeiterService/gefaehrdungstyp" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing Arbeitsunfall entity should be loaded from the relative URL: "/SchutzmassnahmeService/arbeitsunfall/{id}" (HTTP-GET) If a new Arbeitsunfall entity has been created, the new entity should be posted to the relative URL: "/SchutzmassnahmeService/arbeitsunfall" (HTTP-POST) If an existing Arbeitsunfall entity has been updated, the modified entity should be sent to the relative URL: "/SchutzmassnahmeService/arbeitsunfall/{id}" (HTTP-PUT) If an existing Arbeitsunfall entity has to be deleted, the following relative URL should be called: "/SchutzmassnahmeService/arbeitsunfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnfallSchutzmassnahme columns: - column: Schutzmassnahme - column: Arbeitsunfall The table should have the title "UnfallSchutzmassnahmes" und the data must be loaded from the server with the following relative URL: "/SchutzmassnahmeService/unfallschutzmassnahme/arbeitsunfall/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum