Overview
Summary
Contact
Donate
Imprint
Prompt for the
FlightBookingSegmentView
Please create a React-JS view called "FlightBookingSegmentView" for the fields of the FlightBookingSegment entity. The FlightBookingSegmentView must contain the following fields: - name: Flight type: Flight - name: FlightBooking type: FlightBooking - name: Seat type: STRING - name: SegmentNumber type: INT - name: Status type: STRING The data source for the [FlightBooking] select control should be loaded from the relative URL: "/CurrencyService/flightbooking" (HTTP-GET) The data source for the [Flight] select control should be loaded from the relative URL: "/AirportService/flight" (HTTP-GET) An existing FlightBookingSegment entity should be loaded from the relative URL: "/AirportService/flightbookingsegment/{id}" (HTTP-GET) If a new FlightBookingSegment entity has been created, the new entity should be posted to the relative URL: "/AirportService/flightbookingsegment" (HTTP-POST) If an existing FlightBookingSegment entity has been updated, the modified entity should be sent to the relative URL: "/AirportService/flightbookingsegment/{id}" (HTTP-PUT) If an existing FlightBookingSegment entity has to be deleted, the following relative URL should be called: "/AirportService/flightbookingsegment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint