Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RolleApp
Please create a React-JS application for the RolleModule. The application has to offer the following views for the user interface: 1. EinsatzMitarbeiterView 2. RolleView 3. RollenZuweisungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The EinsatzMitarbeiterView must contain the following fields: - name: Einsatz type: Einsatz - name: Mitarbeiter type: Mitarbeiter - name: RolleWaeh type: Rolle - name: TatsächlichEnde type: DATE - name: TatsächlichStart type: DATE The data source for the [Einsatz] select control should be loaded from the relative URL: "/EinsatzService/einsatz" (HTTP-GET) The data source for the [RolleWaeh] select control should be loaded from the relative URL: "/RolleService/rolle" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) An existing EinsatzMitarbeiter entity should be loaded from the relative URL: "/RolleService/einsatzmitarbeiter/{id}" (HTTP-GET) If a new EinsatzMitarbeiter entity has been created, the new entity should be posted to the relative URL: "/RolleService/einsatzmitarbeiter" (HTTP-POST) If an existing EinsatzMitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/RolleService/einsatzmitarbeiter/{id}" (HTTP-PUT) If an existing EinsatzMitarbeiter entity has to be deleted, the following relative URL should be called: "/RolleService/einsatzmitarbeiter/{id}" (HTTP-DELETE) 2. The RolleView must contain the following fields: - name: Rollenbeschreibung type: STRING - name: Rollenname type: STRING An existing Rolle entity should be loaded from the relative URL: "/RolleService/rolle/{id}" (HTTP-GET) If a new Rolle entity has been created, the new entity should be posted to the relative URL: "/RolleService/rolle" (HTTP-POST) If an existing Rolle entity has been updated, the modified entity should be sent to the relative URL: "/RolleService/rolle/{id}" (HTTP-PUT) If an existing Rolle entity has to be deleted, the following relative URL should be called: "/RolleService/rolle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzMitarbeiter columns: - column: TatsächlichStart - column: TatsächlichEnde - column: RolleWaeh - column: Mitarbeiter - column: Einsatz The table should have the title "EinsatzMitarbeiters" und the data must be loaded from the server with the following relative URL: "/RolleService/einsatzmitarbeiter/rollewaeh/{id}" Add a HTML table to the view with the following RollenZuweisung columns: - column: Mitarbeiter - column: BisDatum - column: VonDatum - column: Rolle - column: PflegedienstStandort The table should have the title "RollenZuweisungs" und the data must be loaded from the server with the following relative URL: "/RolleService/rollenzuweisung/rolle/{id}" 3. The RollenZuweisungView must contain the following fields: - name: BisDatum type: DATE - name: Mitarbeiter type: Mitarbeiter - name: PflegedienstStandort type: Pflegedienst - name: Rolle type: Rolle - name: VonDatum type: DATE The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-GET) The data source for the [PflegedienstStandort] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) The data source for the [Rolle] select control should be loaded from the relative URL: "/RolleService/rolle" (HTTP-GET) An existing RollenZuweisung entity should be loaded from the relative URL: "/RolleService/rollenzuweisung/{id}" (HTTP-GET) If a new RollenZuweisung entity has been created, the new entity should be posted to the relative URL: "/RolleService/rollenzuweisung" (HTTP-POST) If an existing RollenZuweisung entity has been updated, the modified entity should be sent to the relative URL: "/RolleService/rollenzuweisung/{id}" (HTTP-PUT) If an existing RollenZuweisung entity has to be deleted, the following relative URL should be called: "/RolleService/rollenzuweisung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum