Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CourtView
Please create a React-JS view called "CourtView" for the fields of the Court entity. The CourtView must contain the following fields: - name: CourtSurfaceType type: CourtSurfaceType - name: CreatedAt type: DATE - name: Description type: STRING - name: HasWoodSpringFloor type: BOOL - name: Indoor type: BOOL - name: IsActive type: BOOL - name: Name type: STRING The data source for the [CourtSurfaceType] select control should be loaded from the relative URL: "/CourtService/courtsurfacetype" (HTTP-GET) An existing Court entity should be loaded from the relative URL: "/CourtService/court/{id}" (HTTP-GET) If a new Court entity has been created, the new entity should be posted to the relative URL: "/CourtService/court" (HTTP-POST) If an existing Court entity has been updated, the modified entity should be sent to the relative URL: "/CourtService/court/{id}" (HTTP-PUT) If an existing Court entity has to be deleted, the following relative URL should be called: "/CourtService/court/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TrainingSession columns: - column: Status - column: CreatedAt - column: EndDateTime - column: Court - column: Coach - column: StartDateTime - column: TrainingOffer - column: MaxParticipants The table should have the title "TrainingSessions" und the data must be loaded from the server with the following relative URL: "/CoachService/trainingsession/court/{id}" Add a HTML table to the view with the following Booking columns: - column: BookingType - column: Court - column: EndDateTime - column: Status - column: Source - column: Comment - column: CreatedAt - column: StartDateTime - column: Customer - column: Sport The table should have the title "Bookings" und the data must be loaded from the server with the following relative URL: "/SportService/booking/court/{id}" Add a HTML table to the view with the following CourtSport columns: - column: Court - column: IsPrimary - column: Sport The table should have the title "CourtSports" und the data must be loaded from the server with the following relative URL: "/SportService/courtsport/court/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum