Overview
Summary
Contact
Donate
Imprint
Prompt for the
AirportTransferProductView
Please create a React-JS view called "AirportTransferProductView" for the fields of the AirportTransferProduct entity. The AirportTransferProductView must contain the following fields: - name: AirportTransferProvider type: AirportTransferProvider - name: Description type: STRING - name: DestinationAirport type: Airport - name: DestinationCity type: LocationCity - name: MaxPassengers type: INT - name: Name type: STRING - name: OriginAirport type: Airport - name: OriginCity type: LocationCity - name: VehicleType type: STRING The data source for the [OriginAirport] select control should be loaded from the relative URL: "/AirportService/airport" (HTTP-GET) The data source for the [AirportTransferProvider] select control should be loaded from the relative URL: "/PartnerAccountService/airporttransferprovider" (HTTP-GET) The data source for the [DestinationCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) The data source for the [OriginCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) The data source for the [DestinationAirport] select control should be loaded from the relative URL: "/AirportService/airport" (HTTP-GET) An existing AirportTransferProduct entity should be loaded from the relative URL: "/AirportService/airporttransferproduct/{id}" (HTTP-GET) If a new AirportTransferProduct entity has been created, the new entity should be posted to the relative URL: "/AirportService/airporttransferproduct" (HTTP-POST) If an existing AirportTransferProduct entity has been updated, the modified entity should be sent to the relative URL: "/AirportService/airporttransferproduct/{id}" (HTTP-PUT) If an existing AirportTransferProduct entity has to be deleted, the following relative URL should be called: "/AirportService/airporttransferproduct/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirportTransferBooking columns: - column: PickupAddress - column: Booking - column: PickupDateTime - column: Passengers - column: DropoffAddress - column: AirportTransferProduct - column: TotalAmount - column: Currency The table should have the title "AirportTransferBookings" und the data must be loaded from the server with the following relative URL: "/BookingService/airporttransferbooking/airporttransferproduct/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint