Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StationView
Please create a React-JS view called "StationView" for the fields of the Station entity. The StationView must contain the following fields: - name: Adresse type: STRING - name: BahnhofBezug type: BOOL - name: Breitengrad type: STRING - name: CarsharingOrganisation type: CarsharingOrganisation - name: FlughafenBezug type: BOOL - name: Laengengrad type: STRING - name: Name type: STRING - name: OeffentlicherParkplatz type: BOOL - name: Stadt type: Stadt - name: Stationstyp type: Stationstyp The data source for the [Stationstyp] select control should be loaded from the relative URL: "/GeschaeftsmodellService/stationstyp" (HTTP-GET) The data source for the [CarsharingOrganisation] select control should be loaded from the relative URL: "/CarsharingOrganisationService/carsharingorganisation" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/CarsharingOrganisationService/stadt" (HTTP-GET) An existing Station entity should be loaded from the relative URL: "/StationService/station/{id}" (HTTP-GET) If a new Station entity has been created, the new entity should be posted to the relative URL: "/StationService/station" (HTTP-POST) If an existing Station entity has been updated, the modified entity should be sent to the relative URL: "/StationService/station/{id}" (HTTP-PUT) If an existing Station entity has to be deleted, the following relative URL should be called: "/StationService/station/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Parkplatz columns: - column: Reserviert - column: Ladefaehig - column: Ueberdacht - column: Code - column: Station The table should have the title "Parkplatzs" und the data must be loaded from the server with the following relative URL: "/StationService/parkplatz/station/{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/stationrueckgabe/{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/stationabholung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum