Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FlotteView
Please create a React-JS view called "FlotteView" for the fields of the Flotte entity. The FlotteView must contain the following fields: - name: Beschreibung type: STRING - name: CarsharingOrganisation type: CarsharingOrganisation - name: ElektroFokus type: BOOL - name: GeplanteFahrzeuge type: LONG - name: Name type: STRING The data source for the [CarsharingOrganisation] select control should be loaded from the relative URL: "/CarsharingOrganisationService/carsharingorganisation" (HTTP-GET) An existing Flotte entity should be loaded from the relative URL: "/CarsharingOrganisationService/flotte/{id}" (HTTP-GET) If a new Flotte entity has been created, the new entity should be posted to the relative URL: "/CarsharingOrganisationService/flotte" (HTTP-POST) If an existing Flotte entity has been updated, the modified entity should be sent to the relative URL: "/CarsharingOrganisationService/flotte/{id}" (HTTP-PUT) If an existing Flotte entity has to be deleted, the following relative URL should be called: "/CarsharingOrganisationService/flotte/{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/flotte/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum