Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchichtView
Please create a React-JS view called "SchichtView" for the fields of the Schicht entity. The SchichtView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: Leitstelle type: Leitstelle - name: Schichtfuehrer type: Mitarbeiter The data source for the [Schichtfuehrer] select control should be loaded from the relative URL: "/LeitstelleService/mitarbeiter" (HTTP-GET) The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing Schicht entity should be loaded from the relative URL: "/SchichtService/schicht/{id}" (HTTP-GET) If a new Schicht entity has been created, the new entity should be posted to the relative URL: "/SchichtService/schicht" (HTTP-POST) If an existing Schicht entity has been updated, the modified entity should be sent to the relative URL: "/SchichtService/schicht/{id}" (HTTP-PUT) If an existing Schicht entity has to be deleted, the following relative URL should be called: "/SchichtService/schicht/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchichtMitarbeiter columns: - column: Schicht - column: Mitarbeiter - column: FunktionInSchicht The table should have the title "SchichtMitarbeiters" und the data must be loaded from the server with the following relative URL: "/SchichtService/schichtmitarbeiter/schicht/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum