Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VorfallArtView
Please create a React-JS view called "VorfallArtView" for the fields of the VorfallArt entity. The VorfallArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing VorfallArt entity should be loaded from the relative URL: "/VorfallArtService/vorfallart/{id}" (HTTP-GET) If a new VorfallArt entity has been created, the new entity should be posted to the relative URL: "/VorfallArtService/vorfallart" (HTTP-POST) If an existing VorfallArt entity has been updated, the modified entity should be sent to the relative URL: "/VorfallArtService/vorfallart/{id}" (HTTP-PUT) If an existing VorfallArt entity has to be deleted, the following relative URL should be called: "/VorfallArtService/vorfallart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Vorfall columns: - column: Schweregrad - column: Tankstelle - column: Beschreibung - column: Zeitpunkt - column: VorfallArt - column: AnBehoerdeGemeldet The table should have the title "Vorfalls" und the data must be loaded from the server with the following relative URL: "/VorfallArtService/vorfall/vorfallart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum