Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EventView
Please create a React-JS view called "EventView" for the fields of the Event entity. The EventView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: EndDateTime type: DATE - name: LocationText type: STRING - name: MaxParticipants type: LONG - name: Name type: STRING - name: PublicVisible type: BOOL - name: RegistrationDeadline type: DATE - 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) An existing Event entity should be loaded from the relative URL: "/SportService/event/{id}" (HTTP-GET) If a new Event entity has been created, the new entity should be posted to the relative URL: "/SportService/event" (HTTP-POST) If an existing Event entity has been updated, the modified entity should be sent to the relative URL: "/SportService/event/{id}" (HTTP-PUT) If an existing Event entity has to be deleted, the following relative URL should be called: "/SportService/event/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EventRegistration columns: - column: TeamName - column: Comment - column: RegisteredAt - column: Status - column: Event - column: Customer The table should have the title "EventRegistrations" und the data must be loaded from the server with the following relative URL: "/CustomerService/eventregistration/event/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum