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: Fahrzeugtyp type: STRING - name: KapazitaetKg type: STRING - name: Kennzeichen type: STRING - name: KuehlungFlag type: BOOL - name: LokaleTafel type: LokaleTafel The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing Fahrzeug entity should be loaded from the relative URL: "/LokaleTafelService/fahrzeug/{id}" (HTTP-GET) If a new Fahrzeug entity has been created, the new entity should be posted to the relative URL: "/LokaleTafelService/fahrzeug" (HTTP-POST) If an existing Fahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/LokaleTafelService/fahrzeug/{id}" (HTTP-PUT) If an existing Fahrzeug entity has to be deleted, the following relative URL should be called: "/LokaleTafelService/fahrzeug/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Route columns: - column: RegelWochentag - column: Name - column: LokaleTafel - column: Fahrzeug - column: Beschreibung The table should have the title "Routes" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/route/fahrzeug/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum