Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
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: IsStanding type: BOOL - name: RowLabel type: STRING - name: SeatBlock type: SeatBlock - name: SeatNumber type: STRING The data source for the [SeatBlock] select control should be loaded from the relative URL: "/VenueAreaService/seatblock" (HTTP-GET) An existing Seat entity should be loaded from the relative URL: "/VenueAreaService/seat/{id}" (HTTP-GET) If a new Seat entity has been created, the new entity should be posted to the relative URL: "/VenueAreaService/seat" (HTTP-POST) If an existing Seat entity has been updated, the modified entity should be sent to the relative URL: "/VenueAreaService/seat/{id}" (HTTP-PUT) If an existing Seat entity has to be deleted, the following relative URL should be called: "/VenueAreaService/seat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookingItem columns: - column: Quantity - column: Event - column: Seat - column: UnitPrice - column: EventTicketType - column: Booking - column: TotalPrice The table should have the title "BookingItems" und the data must be loaded from the server with the following relative URL: "/EventService/bookingitem/seat/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum