Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchoolEventView
Please create a React-JS view called "SchoolEventView" for the fields of the SchoolEvent entity. The SchoolEventView must contain the following fields: - name: FromDate type: DATE - name: ReportType type: ReportType - name: Description type: STRING - name: ToDate type: DATE - name: ShortTitle type: STRING - name: SchoolEventType type: SchoolEventType The data source for the [SchoolEventType] select control should be loaded from the relative URL: "/SchoolEventService/schooleventtype" (HTTP-GET) The data source for the [ReportType] select control should be loaded from the relative URL: "/SchoolEventService/reporttype" (HTTP-GET) An existing SchoolEvent entity should be loaded from the relative URL: "/SchoolEventService/schoolevent/{id}" (HTTP-GET) If a new SchoolEvent entity has been created, the new entity should be posted to the relative URL: "/SchoolEventService/schoolevent" (HTTP-POST) If an existing SchoolEvent entity has been updated, the modified entity should be sent to the relative URL: "/SchoolEventService/schoolevent/{id}" (HTTP-PUT) If an existing SchoolEvent entity has to be deleted, the following relative URL should be called: "/SchoolEventService/schoolevent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchoolEventAttendee columns: - column: Teacher - column: ExternalPerson - column: InvitationShipped - column: Student - column: SchoolEvent - column: Invitation The table should have the title "SchoolEventAttendees" und the data must be loaded from the server with the following relative URL: "/SchoolEventService/schooleventattendee/schoolevent/{id}" Add a HTML table to the view with the following Contribution columns: - column: Student - column: PaymentDetails - column: Amount - column: SchoolEvent - column: SchoolTrip The table should have the title "Contributions" und the data must be loaded from the server with the following relative URL: "/SchoolEventService/contribution/schoolevent/{id}" Add a HTML table to the view with the following EventTask columns: - column: TaskTitle - column: ExternalPerson - column: Teacher - column: Details - column: SchoolEvent - column: Student The table should have the title "EventTasks" und the data must be loaded from the server with the following relative URL: "/StudentService/eventtask/schoolevent/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum