Overview
Summary
Contact
Donate
Imprint
Prompt for the
BookingView
Please create a React-JS view called "BookingView" for the fields of the Booking entity. The BookingView must contain the following fields: - name: Channel type: STRING - name: CreatedAt type: DATE - name: Currency type: Currency - name: DisplayAmount type: STRING - name: Status type: STRING - name: TotalAmount type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Booking entity should be loaded from the relative URL: "/BookingService/booking/{id}" (HTTP-GET) If a new Booking entity has been created, the new entity should be posted to the relative URL: "/BookingService/booking" (HTTP-POST) If an existing Booking entity has been updated, the modified entity should be sent to the relative URL: "/BookingService/booking/{id}" (HTTP-PUT) If an existing Booking entity has to be deleted, the following relative URL should be called: "/BookingService/booking/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StayBooking columns: - column: Booking - column: CheckOutDate - column: RoomType - column: Adults - column: Children - column: SpecialRequests - column: NumberOfRooms - column: RoomRatePlan - column: CheckInDate - column: BaseAmount - column: Currency - column: CancellationPolicySnapshot - column: TaxesAmount - column: Property - column: FeesAmount The table should have the title "StayBookings" und the data must be loaded from the server with the following relative URL: "/StayBookingService/staybooking/booking/{id}" Add a HTML table to the view with the following CarRentalBooking columns: - column: TotalAmount - column: CarRentalProduct - column: DropoffLocation - column: DropoffDateTime - column: Booking - column: PickupLocation - column: Currency - column: PickupDateTime The table should have the title "CarRentalBookings" und the data must be loaded from the server with the following relative URL: "/CarRentalLocationService/carrentalbooking/booking/{id}" Add a HTML table to the view with the following FlightBooking columns: - column: Booking - column: Currency - column: TotalAmount - column: CabinClass - column: PnrCode The table should have the title "FlightBookings" und the data must be loaded from the server with the following relative URL: "/CurrencyService/flightbooking/booking/{id}" Add a HTML table to the view with the following Payment columns: - column: Currency - column: Booking - column: Status - column: ProviderReference - column: Amount - column: ProcessedAt - column: CreatedAt - column: PaymentMethod The table should have the title "Payments" und the data must be loaded from the server with the following relative URL: "/CurrencyService/payment/booking/{id}" 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/booking/{id}" Add a HTML table to the view with the following Review columns: - column: Attraction - column: Text - column: UserAccount - column: Property - column: Booking - column: Language - column: OverallScore - column: AirportTransferProduct - column: CarRentalProduct - column: IsPublic - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/LanguageService/review/booking/{id}" Add a HTML table to the view with the following AttractionBooking columns: - column: TotalAmount - column: Children - column: Currency - column: AttractionSchedule - column: Booking - column: Adults The table should have the title "AttractionBookings" und the data must be loaded from the server with the following relative URL: "/AttractionBookingService/attractionbooking/booking/{id}" Add a HTML table to the view with the following BookingStatusHistory columns: - column: Notes - column: Status - column: Booking - column: ChangedBySystem - column: ChangedAt The table should have the title "BookingStatusHistorys" und the data must be loaded from the server with the following relative URL: "/BookingService/bookingstatushistory/booking/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint