Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VorfallView
Please create a React-JS view called "VorfallView" for the fields of the Vorfall entity. The VorfallView must contain the following fields: - name: Beschreibung type: STRING - name: Fahrzeug type: Fahrzeug - name: GemeldetAm type: DATE - name: Pannenhilfe type: BOOL - name: Reservierung type: Reservierung - name: Vorfallstyp type: Vorfallstyp The data source for the [Vorfallstyp] select control should be loaded from the relative URL: "/FahrzeugService/vorfallstyp" (HTTP-GET) The data source for the [Fahrzeug] select control should be loaded from the relative URL: "/FahrzeugService/fahrzeug" (HTTP-GET) The data source for the [Reservierung] select control should be loaded from the relative URL: "/StationService/reservierung" (HTTP-GET) An existing Vorfall entity should be loaded from the relative URL: "/FahrzeugService/vorfall/{id}" (HTTP-GET) If a new Vorfall entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/vorfall" (HTTP-POST) If an existing Vorfall entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/vorfall/{id}" (HTTP-PUT) If an existing Vorfall entity has to be deleted, the following relative URL should be called: "/FahrzeugService/vorfall/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum