Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CurriculumView
Please create a React-JS view called "CurriculumView" for the fields of the Curriculum entity. The CurriculumView must contain the following fields: - name: ToDate type: DATE - name: FromDate type: DATE - name: AgeGroup type: AgeGroup The data source for the [AgeGroup] select control should be loaded from the relative URL: "/AgeGroupService/agegroup" (HTTP-GET) An existing Curriculum entity should be loaded from the relative URL: "/AgeGroupService/curriculum/{id}" (HTTP-GET) If a new Curriculum entity has been created, the new entity should be posted to the relative URL: "/AgeGroupService/curriculum" (HTTP-POST) If an existing Curriculum entity has been updated, the modified entity should be sent to the relative URL: "/AgeGroupService/curriculum/{id}" (HTTP-PUT) If an existing Curriculum entity has to be deleted, the following relative URL should be called: "/AgeGroupService/curriculum/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CurriculumEntry columns: - column: SchoolSubject - column: Curriculum - column: LessonCount - column: SchoolYear The table should have the title "CurriculumEntrys" und the data must be loaded from the server with the following relative URL: "/SchoolYearService/curriculumentry/curriculum/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum