Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
BookingPassengerView
Please create a React-JS view called "BookingPassengerView" for the fields of the BookingPassenger entity. The BookingPassengerView must contain the following fields: - name: Booking type: Booking - name: LoyaltyStatus type: STRING - name: Passenger type: Passenger - name: PassengerType type: STRING The data source for the [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) The data source for the [Passenger] select control should be loaded from the relative URL: "/AirlineService/passenger" (HTTP-GET) An existing BookingPassenger entity should be loaded from the relative URL: "/AirportService/bookingpassenger/{id}" (HTTP-GET) If a new BookingPassenger entity has been created, the new entity should be posted to the relative URL: "/AirportService/bookingpassenger" (HTTP-POST) If an existing BookingPassenger entity has been updated, the modified entity should be sent to the relative URL: "/AirportService/bookingpassenger/{id}" (HTTP-PUT) If an existing BookingPassenger entity has to be deleted, the following relative URL should be called: "/AirportService/bookingpassenger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BaggageItem columns: - column: CheckedInAirport - column: FinalAirport - column: Status - column: TagNumber - column: WeightKg - column: BookingPassenger The table should have the title "BaggageItems" und the data must be loaded from the server with the following relative URL: "/AirportService/baggageitem/bookingpassenger/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint