Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
FareClassView
Please create a React-JS view called "FareClassView" for the fields of the FareClass entity. The FareClassView must contain the following fields: - name: BaggageAllowanceKg type: LONG - name: CabinClass type: CabinClass - name: Changeable type: BOOL - name: Code type: STRING - name: Refundable type: BOOL The data source for the [CabinClass] select control should be loaded from the relative URL: "/CabinClassService/cabinclass" (HTTP-GET) An existing FareClass entity should be loaded from the relative URL: "/BookingService/fareclass/{id}" (HTTP-GET) If a new FareClass entity has been created, the new entity should be posted to the relative URL: "/BookingService/fareclass" (HTTP-POST) If an existing FareClass entity has been updated, the modified entity should be sent to the relative URL: "/BookingService/fareclass/{id}" (HTTP-PUT) If an existing FareClass entity has to be deleted, the following relative URL should be called: "/BookingService/fareclass/{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/fareclass/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint