Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TrainingSessionView
Please create a React-JS view called "TrainingSessionView" for the fields of the TrainingSession entity. The TrainingSessionView must contain the following fields: - name: Coach type: Coach - name: Court type: Court - name: CreatedAt type: DATE - name: EndDateTime type: DATE - name: MaxParticipants type: LONG - name: StartDateTime type: DATE - name: Status type: STRING - name: TrainingOffer type: TrainingOffer The data source for the [Coach] select control should be loaded from the relative URL: "/CoachService/coach" (HTTP-GET) The data source for the [Court] select control should be loaded from the relative URL: "/CourtService/court" (HTTP-GET) The data source for the [TrainingOffer] select control should be loaded from the relative URL: "/CoachService/trainingoffer" (HTTP-GET) An existing TrainingSession entity should be loaded from the relative URL: "/CoachService/trainingsession/{id}" (HTTP-GET) If a new TrainingSession entity has been created, the new entity should be posted to the relative URL: "/CoachService/trainingsession" (HTTP-POST) If an existing TrainingSession entity has been updated, the modified entity should be sent to the relative URL: "/CoachService/trainingsession/{id}" (HTTP-PUT) If an existing TrainingSession entity has to be deleted, the following relative URL should be called: "/CoachService/trainingsession/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TrainingParticipant columns: - column: RegisteredAt - column: TrainingSession - column: Customer - column: PriceOverride - column: Role The table should have the title "TrainingParticipants" und the data must be loaded from the server with the following relative URL: "/CustomerService/trainingparticipant/trainingsession/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum