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: Aktiv type: BOOL - name: ErstzulassungJahr type: LONG - name: Fahrzeugtyp type: Fahrzeugtyp - name: Flotte type: Flotte - name: FreeFloatingFaehig type: BOOL - name: Kennzeichen type: STRING - name: Kilometerstand type: STRING - name: Kraftstofftyp type: Kraftstofftyp - name: Vin type: STRING The data source for the [Flotte] select control should be loaded from the relative URL: "/CarsharingOrganisationService/flotte" (HTTP-GET) The data source for the [Kraftstofftyp] select control should be loaded from the relative URL: "/FahrzeugService/kraftstofftyp" (HTTP-GET) The data source for the [Fahrzeugtyp] select control should be loaded from the relative URL: "/FahrzeugService/fahrzeugtyp" (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 Vorfall columns: - column: Pannenhilfe - column: Vorfallstyp - column: Beschreibung - column: Fahrzeug - column: Reservierung - column: GemeldetAm The table should have the title "Vorfalls" und the data must be loaded from the server with the following relative URL: "/FahrzeugService/vorfall/fahrzeug/{id}" Add a HTML table to the view with the following Telematikmodul columns: - column: Anbieter - column: Aufbewahrungstage - column: Gps - column: Fahrzeug - column: Fahrverhalten - column: StandortHistorie The table should have the title "Telematikmoduls" und the data must be loaded from the server with the following relative URL: "/FahrzeugService/telematikmodul/fahrzeug/{id}" Add a HTML table to the view with the following Reservierung columns: - column: StartGeplant - column: StationRueckgabe - column: StationAbholung - column: StorniertAm - column: Status - column: Mitgliedschaft - column: Tarif - column: EndeGeplant - column: Fahrzeug - column: ErstelltAm The table should have the title "Reservierungs" und the data must be loaded from the server with the following relative URL: "/StationService/reservierung/fahrzeug/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum