Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ReservierungView
Please create a React-JS view called "ReservierungView" for the fields of the Reservierung entity. The ReservierungView must contain the following fields: - name: EndeGeplant type: DATE - name: ErstelltAm type: DATE - name: Fahrzeug type: Fahrzeug - name: Mitgliedschaft type: Mitgliedschaft - name: StartGeplant type: DATE - name: StationAbholung type: Station - name: StationRueckgabe type: Station - name: Status type: STRING - name: StorniertAm type: DATE - name: Tarif type: Tarif The data source for the [StationRueckgabe] select control should be loaded from the relative URL: "/StationService/station" (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 [StationAbholung] select control should be loaded from the relative URL: "/StationService/station" (HTTP-GET) The data source for the [Mitgliedschaft] select control should be loaded from the relative URL: "/StationService/mitgliedschaft" (HTTP-GET) The data source for the [Tarif] select control should be loaded from the relative URL: "/TarifService/tarif" (HTTP-GET) An existing Reservierung entity should be loaded from the relative URL: "/StationService/reservierung/{id}" (HTTP-GET) If a new Reservierung entity has been created, the new entity should be posted to the relative URL: "/StationService/reservierung" (HTTP-POST) If an existing Reservierung entity has been updated, the modified entity should be sent to the relative URL: "/StationService/reservierung/{id}" (HTTP-PUT) If an existing Reservierung entity has to be deleted, the following relative URL should be called: "/StationService/reservierung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrt columns: - column: Ende - column: StreckeKm - column: AbgerechneteKm - column: Start - column: Reservierung - column: AbgerechneteZeitMin The table should have the title "Fahrts" und the data must be loaded from the server with the following relative URL: "/StationService/fahrt/reservierung/{id}" 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/reservierung/{id}" Add a HTML table to the view with the following Strafe columns: - column: FestgestelltAm - column: Strafentyp - column: Beschreibung - column: Betrag - column: Reservierung The table should have the title "Strafes" und the data must be loaded from the server with the following relative URL: "/StationService/strafe/reservierung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum