Overview
Summary
Contact
Donate
Imprint
Prompt for the
AttractionBookingView
Please create a React-JS view called "AttractionBookingView" for the fields of the AttractionBooking entity. The AttractionBookingView must contain the following fields: - name: Adults type: INT - name: AttractionSchedule type: AttractionSchedule - name: Booking type: Booking - name: Children type: INT - name: Currency type: Currency - name: TotalAmount type: STRING The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) The data source for the [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) The data source for the [AttractionSchedule] select control should be loaded from the relative URL: "/PartnerAccountService/attractionschedule" (HTTP-GET) An existing AttractionBooking entity should be loaded from the relative URL: "/AttractionBookingService/attractionbooking/{id}" (HTTP-GET) If a new AttractionBooking entity has been created, the new entity should be posted to the relative URL: "/AttractionBookingService/attractionbooking" (HTTP-POST) If an existing AttractionBooking entity has been updated, the modified entity should be sent to the relative URL: "/AttractionBookingService/attractionbooking/{id}" (HTTP-PUT) If an existing AttractionBooking entity has to be deleted, the following relative URL should be called: "/AttractionBookingService/attractionbooking/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AttractionParticipant columns: - column: IsPrimary - column: AttractionBooking - column: Age - column: FullName The table should have the title "AttractionParticipants" und the data must be loaded from the server with the following relative URL: "/AttractionBookingService/attractionparticipant/attractionbooking/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint