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