Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
FlightInstanceView
Please create a React-JS view called "FlightInstanceView" for the fields of the FlightInstance entity. The FlightInstanceView must contain the following fields: - name: ActualArrivalUtc type: STRING - name: ActualDepartureUtc type: STRING - name: Aircraft type: Aircraft - name: FlightSchedule type: FlightSchedule - name: ScheduledArrivalUtc type: STRING - name: ScheduledDepartureUtc type: STRING - name: Status type: STRING The data source for the [FlightSchedule] select control should be loaded from the relative URL: "/FlightNumberService/flightschedule" (HTTP-GET) The data source for the [Aircraft] select control should be loaded from the relative URL: "/AirlineService/aircraft" (HTTP-GET) An existing FlightInstance entity should be loaded from the relative URL: "/FlightInstanceService/flightinstance/{id}" (HTTP-GET) If a new FlightInstance entity has been created, the new entity should be posted to the relative URL: "/FlightInstanceService/flightinstance" (HTTP-POST) If an existing FlightInstance entity has been updated, the modified entity should be sent to the relative URL: "/FlightInstanceService/flightinstance/{id}" (HTTP-PUT) If an existing FlightInstance entity has to be deleted, the following relative URL should be called: "/FlightInstanceService/flightinstance/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightCrewAssignment columns: - column: CheckOutTime - column: DutyRole - column: FlightInstance - column: CheckInTime - column: CrewMember The table should have the title "FlightCrewAssignments" und the data must be loaded from the server with the following relative URL: "/FlightInstanceService/flightcrewassignment/flightinstance/{id}" 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/flightinstance/{id}" Add a HTML table to the view with the following LoyaltyTransaction columns: - column: LoyaltyAccount - column: RelatedFlightInstance - column: Miles - column: TransactionType - column: TransactionDate - column: Description The table should have the title "LoyaltyTransactions" und the data must be loaded from the server with the following relative URL: "/LoyaltyAccountService/loyaltytransaction/relatedflightinstance/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint