Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EventTicketTypeView
Please create a React-JS view called "EventTicketTypeView" for the fields of the EventTicketType entity. The EventTicketTypeView must contain the following fields: - name: BasePrice type: STRING - name: Event type: Event - name: IsActive type: BOOL - name: PriceCategory type: PriceCategory - name: SeatBlock type: SeatBlock - name: SoldQuantity type: LONG - name: TicketType type: TicketType - name: TotalAllocation type: LONG - name: VenueArea type: VenueArea The data source for the [SeatBlock] select control should be loaded from the relative URL: "/VenueAreaService/seatblock" (HTTP-GET) The data source for the [Event] select control should be loaded from the relative URL: "/EventService/event" (HTTP-GET) The data source for the [PriceCategory] select control should be loaded from the relative URL: "/PriceCategoryService/pricecategory" (HTTP-GET) The data source for the [VenueArea] select control should be loaded from the relative URL: "/VenueAreaService/venuearea" (HTTP-GET) The data source for the [TicketType] select control should be loaded from the relative URL: "/PriceCategoryService/tickettype" (HTTP-GET) An existing EventTicketType entity should be loaded from the relative URL: "/PriceCategoryService/eventtickettype/{id}" (HTTP-GET) If a new EventTicketType entity has been created, the new entity should be posted to the relative URL: "/PriceCategoryService/eventtickettype" (HTTP-POST) If an existing EventTicketType entity has been updated, the modified entity should be sent to the relative URL: "/PriceCategoryService/eventtickettype/{id}" (HTTP-PUT) If an existing EventTicketType entity has to be deleted, the following relative URL should be called: "/PriceCategoryService/eventtickettype/{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/eventtickettype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum