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: "/TrainingSessionService/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: "/SportService/trainingoffer" (HTTP-GET) An existing TrainingSession entity should be loaded from the relative URL: "/TrainingSessionService/trainingsession/{id}" (HTTP-GET) If a new TrainingSession entity has been created, the new entity should be posted to the relative URL: "/TrainingSessionService/trainingsession" (HTTP-POST) If an existing TrainingSession entity has been updated, the modified entity should be sent to the relative URL: "/TrainingSessionService/trainingsession/{id}" (HTTP-PUT) If an existing TrainingSession entity has to be deleted, the following relative URL should be called: "/TrainingSessionService/trainingsession/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TrainingParticipant columns: - column: Role - column: Customer - column: TrainingSession - column: RegisteredAt - column: PriceOverride The table should have the title "TrainingParticipants" und the data must be loaded from the server with the following relative URL: "/TrainingSessionService/trainingparticipant/trainingsession/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum