Overview
Summary
Contact
Donate
Imprint
Prompt for the
FlightSeatView
Please create a React-JS view called "FlightSeatView" for the fields of the FlightSeat entity. The FlightSeatView must contain the following fields: - name: Currency type: STRING - name: Flight type: Flight - name: Price type: STRING - name: Seat type: Seat - name: SeatStatus type: STRING The data source for the [Seat] select control should be loaded from the relative URL: "/ZeppelinService/seat" (HTTP-GET) The data source for the [Flight] select control should be loaded from the relative URL: "/FlightService/flight" (HTTP-GET) An existing FlightSeat entity should be loaded from the relative URL: "/FlightService/flightseat/{id}" (HTTP-GET) If a new FlightSeat entity has been created, the new entity should be posted to the relative URL: "/FlightService/flightseat" (HTTP-POST) If an existing FlightSeat entity has been updated, the modified entity should be sent to the relative URL: "/FlightService/flightseat/{id}" (HTTP-PUT) If an existing FlightSeat entity has to be deleted, the following relative URL should be called: "/FlightService/flightseat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookingSeat columns: - column: Currency - column: FlightSeat - column: Price - column: Booking The table should have the title "BookingSeats" und the data must be loaded from the server with the following relative URL: "/FlightService/bookingseat/flightseat/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint