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