Overview
Summary
Services
Contact
Donate
About
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: BookingDate type: STRING - name: BookingStatus type: STRING - name: Channel type: STRING - name: RecordLocator type: STRING - name: Ticket type: Ticket The data source for the [Ticket] select control should be loaded from the relative URL: "/BookingService/ticket" (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 BookingSegment columns: - column: SeatNumber - column: Booking - column: FareClass - column: CheckinStatus - column: FlightInstance - column: SegmentStatus The table should have the title "BookingSegments" und the data must be loaded from the server with the following relative URL: "/BookingService/bookingsegment/booking/{id}" Add a HTML table to the view with the following BookingPassenger columns: - column: Passenger - column: LoyaltyStatus - column: Booking - column: PassengerType The table should have the title "BookingPassengers" und the data must be loaded from the server with the following relative URL: "/AirportService/bookingpassenger/booking/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint