Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CoachView
Please create a React-JS view called "CoachView" for the fields of the Coach entity. The CoachView must contain the following fields: - name: ActiveSince type: DATE - name: CreatedAt type: DATE - name: Email type: STRING - name: FirstName type: STRING - name: IsActive type: BOOL - name: IsExternal type: BOOL - name: LastName type: STRING - name: Phone type: STRING - name: ShortBio type: STRING An existing Coach entity should be loaded from the relative URL: "/CoachService/coach/{id}" (HTTP-GET) If a new Coach entity has been created, the new entity should be posted to the relative URL: "/CoachService/coach" (HTTP-POST) If an existing Coach entity has been updated, the modified entity should be sent to the relative URL: "/CoachService/coach/{id}" (HTTP-PUT) If an existing Coach entity has to be deleted, the following relative URL should be called: "/CoachService/coach/{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/coach/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum