Overview
Summary
Services
Contact
Donate
About
Imprint
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: Airline type: Airline - name: Currency type: STRING - name: IssueDate type: DATE - name: PointOfSaleCountry type: Country - name: TicketNumber type: STRING - name: TotalAmount type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) The data source for the [PointOfSaleCountry] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Ticket entity should be loaded from the relative URL: "/BookingService/ticket/{id}" (HTTP-GET) If a new Ticket entity has been created, the new entity should be posted to the relative URL: "/BookingService/ticket" (HTTP-POST) If an existing Ticket entity has been updated, the modified entity should be sent to the relative URL: "/BookingService/ticket/{id}" (HTTP-PUT) If an existing Ticket entity has to be deleted, the following relative URL should be called: "/BookingService/ticket/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Booking columns: - column: BookingStatus - column: BookingDate - column: Channel - column: RecordLocator - column: Ticket The table should have the title "Bookings" und the data must be loaded from the server with the following relative URL: "/BookingService/booking/ticket/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint