Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrzeugApp
Please create a React-JS application for the FahrzeugModule. The application has to offer the following views for the user interface: 1. FahrzeugView 2. FahrzeugtypView 3. KraftstofftypView 4. TelematikmodulView 5. VorfallView 6. VorfallstypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. 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}" 2. The FahrzeugtypView must contain the following fields: - name: Elektro type: BOOL - name: Hybrid type: BOOL - name: Kategorie type: STRING - name: Klimaanlage type: BOOL - name: Name type: STRING - name: Navigation type: BOOL - name: Nutzfahrzeug type: BOOL - name: Sitzplaetze type: LONG An existing Fahrzeugtyp entity should be loaded from the relative URL: "/FahrzeugService/fahrzeugtyp/{id}" (HTTP-GET) If a new Fahrzeugtyp entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/fahrzeugtyp" (HTTP-POST) If an existing Fahrzeugtyp entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing Fahrzeugtyp entity has to be deleted, the following relative URL should be called: "/FahrzeugService/fahrzeugtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrzeug columns: - column: Kraftstofftyp - column: ErstzulassungJahr - column: Aktiv - column: Kilometerstand - column: Flotte - column: Fahrzeugtyp - column: FreeFloatingFaehig - column: Vin - column: Kennzeichen The table should have the title "Fahrzeugs" und the data must be loaded from the server with the following relative URL: "/FahrzeugService/fahrzeug/fahrzeugtyp/{id}" 3. The KraftstofftypView must contain the following fields: - name: Co2ProKmStandard type: STRING - name: Name type: STRING An existing Kraftstofftyp entity should be loaded from the relative URL: "/FahrzeugService/kraftstofftyp/{id}" (HTTP-GET) If a new Kraftstofftyp entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/kraftstofftyp" (HTTP-POST) If an existing Kraftstofftyp entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/kraftstofftyp/{id}" (HTTP-PUT) If an existing Kraftstofftyp entity has to be deleted, the following relative URL should be called: "/FahrzeugService/kraftstofftyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrzeug columns: - column: Kraftstofftyp - column: ErstzulassungJahr - column: Aktiv - column: Kilometerstand - column: Flotte - column: Fahrzeugtyp - column: FreeFloatingFaehig - column: Vin - column: Kennzeichen The table should have the title "Fahrzeugs" und the data must be loaded from the server with the following relative URL: "/FahrzeugService/fahrzeug/kraftstofftyp/{id}" 4. The TelematikmodulView must contain the following fields: - name: Anbieter type: STRING - name: Aufbewahrungstage type: LONG - name: Fahrverhalten type: BOOL - name: Fahrzeug type: Fahrzeug - name: Gps type: BOOL - name: StandortHistorie type: BOOL The data source for the [Fahrzeug] select control should be loaded from the relative URL: "/FahrzeugService/fahrzeug" (HTTP-GET) An existing Telematikmodul entity should be loaded from the relative URL: "/FahrzeugService/telematikmodul/{id}" (HTTP-GET) If a new Telematikmodul entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/telematikmodul" (HTTP-POST) If an existing Telematikmodul entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/telematikmodul/{id}" (HTTP-PUT) If an existing Telematikmodul entity has to be deleted, the following relative URL should be called: "/FahrzeugService/telematikmodul/{id}" (HTTP-DELETE) 5. 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) 6. The VorfallstypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Vorfallstyp entity should be loaded from the relative URL: "/FahrzeugService/vorfallstyp/{id}" (HTTP-GET) If a new Vorfallstyp entity has been created, the new entity should be posted to the relative URL: "/FahrzeugService/vorfallstyp" (HTTP-POST) If an existing Vorfallstyp entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugService/vorfallstyp/{id}" (HTTP-PUT) If an existing Vorfallstyp entity has to be deleted, the following relative URL should be called: "/FahrzeugService/vorfallstyp/{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/vorfallstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum