Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MassnahmeView
Please create a React-JS view called "MassnahmeView" for the fields of the Massnahme entity. The MassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: Enddatum type: DATE - name: Massnahmeart type: Massnahmeart - name: Name type: STRING - name: Startdatum type: DATE - name: Werkstattbereich type: Werkstattbereich The data source for the [Werkstattbereich] select control should be loaded from the relative URL: "/WerkstattService/werkstattbereich" (HTTP-GET) The data source for the [Massnahmeart] select control should be loaded from the relative URL: "/WerkstattService/massnahmeart" (HTTP-GET) An existing Massnahme entity should be loaded from the relative URL: "/WerkstattService/massnahme/{id}" (HTTP-GET) If a new Massnahme entity has been created, the new entity should be posted to the relative URL: "/WerkstattService/massnahme" (HTTP-POST) If an existing Massnahme entity has been updated, the modified entity should be sent to the relative URL: "/WerkstattService/massnahme/{id}" (HTTP-PUT) If an existing Massnahme entity has to be deleted, the following relative URL should be called: "/WerkstattService/massnahme/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Teilnahme columns: - column: TeilnehmendePerson - column: Massnahme - column: Ergebnis - column: VonDatum - column: BisDatum The table should have the title "Teilnahmes" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/teilnahme/massnahme/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum