Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchoolTripView
Please create a React-JS view called "SchoolTripView" for the fields of the SchoolTrip entity. The SchoolTripView must contain the following fields: - name: ToDate type: DATE - name: FromDate type: DATE - name: Destination type: STRING An existing SchoolTrip entity should be loaded from the relative URL: "/SchoolEventService/schooltrip/{id}" (HTTP-GET) If a new SchoolTrip entity has been created, the new entity should be posted to the relative URL: "/SchoolEventService/schooltrip" (HTTP-POST) If an existing SchoolTrip entity has been updated, the modified entity should be sent to the relative URL: "/SchoolEventService/schooltrip/{id}" (HTTP-PUT) If an existing SchoolTrip entity has to be deleted, the following relative URL should be called: "/SchoolEventService/schooltrip/{id}" (HTTP-DELETE) 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/schooltrip/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum