Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TicketView
Please create a React-JS view called "TicketView" for the fields of the Ticket entity. The TicketView must contain the following fields: - name: IstErmaessigt type: BOOL - name: PreisGezahlt type: DOUBLE - name: Steuersatz type: Steuersatz - name: Verkaufszeit type: DATE - name: Vorstellung type: Vorstellung The data source for the [Steuersatz] select control should be loaded from the relative URL: "/LandService/steuersatz" (HTTP-GET) The data source for the [Vorstellung] select control should be loaded from the relative URL: "/FilmService/vorstellung" (HTTP-GET) An existing Ticket entity should be loaded from the relative URL: "/LandService/ticket/{id}" (HTTP-GET) If a new Ticket entity has been created, the new entity should be posted to the relative URL: "/LandService/ticket" (HTTP-POST) If an existing Ticket entity has been updated, the modified entity should be sent to the relative URL: "/LandService/ticket/{id}" (HTTP-PUT) If an existing Ticket entity has to be deleted, the following relative URL should be called: "/LandService/ticket/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SitzReservierung columns: - column: Sitz - column: Ticket The table should have the title "SitzReservierungs" und the data must be loaded from the server with the following relative URL: "/SaalService/sitzreservierung/ticket/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum