Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ContributionView
Please create a React-JS view called "ContributionView" for the fields of the Contribution entity. The ContributionView must contain the following fields: - name: Amount type: DOUBLE - name: Student type: Student - name: SchoolTrip type: SchoolTrip - name: SchoolEvent type: SchoolEvent - name: PaymentDetails type: STRING The data source for the [SchoolTrip] select control should be loaded from the relative URL: "/SchoolEventService/schooltrip" (HTTP-GET) The data source for the [SchoolEvent] select control should be loaded from the relative URL: "/SchoolEventService/schoolevent" (HTTP-GET) The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing Contribution entity should be loaded from the relative URL: "/SchoolEventService/contribution/{id}" (HTTP-GET) If a new Contribution entity has been created, the new entity should be posted to the relative URL: "/SchoolEventService/contribution" (HTTP-POST) If an existing Contribution entity has been updated, the modified entity should be sent to the relative URL: "/SchoolEventService/contribution/{id}" (HTTP-PUT) If an existing Contribution entity has to be deleted, the following relative URL should be called: "/SchoolEventService/contribution/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum