Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrzeugView
Please create a React-JS view called "FahrzeugView" for the fields of the Fahrzeug entity. The FahrzeugView must contain the following fields: - name: Allrad type: BOOL - name: Baujahr type: INT - name: FahrzeugTyp type: STRING - name: Feuerwehr type: Feuerwehr - name: Funkrufname type: STRING - name: Hersteller type: STRING - name: IstBoot type: BOOL - name: IstRettungswagen type: BOOL - name: Kennzeichen type: STRING - name: Modell type: STRING The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing Fahrzeug entity should be loaded from the relative URL: "/FahrzeugService/fahrzeug/{id}" (HTTP-GET) If a new Fahrzeug entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/fahrzeug" (HTTP-POST) If an existing Fahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/fahrzeug/{id}" (HTTP-PUT) If an existing Fahrzeug entity has to be deleted, the following relative URL should be called: "/FahrzeugService/fahrzeug/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FahrzeugAusruestung columns: - column: Fahrzeug - column: Ausruestung The table should have the title "FahrzeugAusruestungs" und the data must be loaded from the server with the following relative URL: "/FahrzeugService/fahrzeugausruestung/fahrzeug/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum