Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BreakPlanView
Please create a React-JS view called "BreakPlanView" for the fields of the BreakPlan entity. The BreakPlanView must contain the following fields: - name: Schoolyard type: Schoolyard - name: SchoolYear type: SchoolYear The data source for the [Schoolyard] select control should be loaded from the relative URL: "/RoomService/schoolyard" (HTTP-GET) The data source for the [SchoolYear] select control should be loaded from the relative URL: "/SchoolYearService/schoolyear" (HTTP-GET) An existing BreakPlan entity should be loaded from the relative URL: "/SchoolYearService/breakplan/{id}" (HTTP-GET) If a new BreakPlan entity has been created, the new entity should be posted to the relative URL: "/SchoolYearService/breakplan" (HTTP-POST) If an existing BreakPlan entity has been updated, the modified entity should be sent to the relative URL: "/SchoolYearService/breakplan/{id}" (HTTP-PUT) If an existing BreakPlan entity has to be deleted, the following relative URL should be called: "/SchoolYearService/breakplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BreakPlanEntry columns: - column: EntryDate - column: Teacher - column: BreakPlan - column: SchoolBreak The table should have the title "BreakPlanEntrys" und the data must be loaded from the server with the following relative URL: "/SchoolBreakService/breakplanentry/breakplan/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum