Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BookingView
Please create a React-JS view called "BookingView" for the fields of the Booking entity. The BookingView must contain the following fields: - name: BookingType type: STRING - name: Comment type: STRING - name: Court type: Court - name: CreatedAt type: DATE - name: Customer type: Customer - name: EndDateTime type: DATE - name: Source type: STRING - name: Sport type: Sport - name: StartDateTime type: DATE - name: Status type: STRING The data source for the [Sport] select control should be loaded from the relative URL: "/SportService/sport" (HTTP-GET) The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [Court] select control should be loaded from the relative URL: "/CourtService/court" (HTTP-GET) An existing Booking entity should be loaded from the relative URL: "/SportService/booking/{id}" (HTTP-GET) If a new Booking entity has been created, the new entity should be posted to the relative URL: "/SportService/booking" (HTTP-POST) If an existing Booking entity has been updated, the modified entity should be sent to the relative URL: "/SportService/booking/{id}" (HTTP-PUT) If an existing Booking entity has to be deleted, the following relative URL should be called: "/SportService/booking/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookingParticipant columns: - column: GuestName - column: Customer - column: IsMainPayer - column: Booking The table should have the title "BookingParticipants" und the data must be loaded from the server with the following relative URL: "/CoachService/bookingparticipant/booking/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum