Overview
Summary
Contact
Donate
Imprint
Prompt for the
AttractionScheduleView
Please create a React-JS view called "AttractionScheduleView" for the fields of the AttractionSchedule entity. The AttractionScheduleView must contain the following fields: - name: Attraction type: Attraction - name: Capacity type: INT - name: EndDateTime type: DATE - name: StartDateTime type: DATE The data source for the [Attraction] select control should be loaded from the relative URL: "/PartnerAccountService/attraction" (HTTP-GET) An existing AttractionSchedule entity should be loaded from the relative URL: "/PartnerAccountService/attractionschedule/{id}" (HTTP-GET) If a new AttractionSchedule entity has been created, the new entity should be posted to the relative URL: "/PartnerAccountService/attractionschedule" (HTTP-POST) If an existing AttractionSchedule entity has been updated, the modified entity should be sent to the relative URL: "/PartnerAccountService/attractionschedule/{id}" (HTTP-PUT) If an existing AttractionSchedule entity has to be deleted, the following relative URL should be called: "/PartnerAccountService/attractionschedule/{id}" (HTTP-DELETE) 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/attractionschedule/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint