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. EinsatzzeitView 2. MitarbeiterRolleView 3. RolleView 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 EinsatzzeitView must contain the following fields: - name: Einsatz type: Einsatz - name: Zeitpunkt type: DATE - name: Zeittyp type: STRING The data source for the [Einsatz] select control should be loaded from the relative URL: "/LeitstelleService/einsatz" (HTTP-GET) An existing Einsatzzeit entity should be loaded from the relative URL: "/RolleService/einsatzzeit/{id}" (HTTP-GET) If a new Einsatzzeit entity has been created, the new entity should be posted to the relative URL: "/RolleService/einsatzzeit" (HTTP-POST) If an existing Einsatzzeit entity has been updated, the modified entity should be sent to the relative URL: "/RolleService/einsatzzeit/{id}" (HTTP-PUT) If an existing Einsatzzeit entity has to be deleted, the following relative URL should be called: "/RolleService/einsatzzeit/{id}" (HTTP-DELETE) 2. The MitarbeiterRolleView must contain the following fields: - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Mitarbeiter type: Mitarbeiter - name: Rolle type: Rolle The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/LeitstelleService/mitarbeiter" (HTTP-GET) The data source for the [Rolle] select control should be loaded from the relative URL: "/RolleService/rolle" (HTTP-GET) An existing MitarbeiterRolle entity should be loaded from the relative URL: "/RolleService/mitarbeiterrolle/{id}" (HTTP-GET) If a new MitarbeiterRolle entity has been created, the new entity should be posted to the relative URL: "/RolleService/mitarbeiterrolle" (HTTP-POST) If an existing MitarbeiterRolle entity has been updated, the modified entity should be sent to the relative URL: "/RolleService/mitarbeiterrolle/{id}" (HTTP-PUT) If an existing MitarbeiterRolle entity has to be deleted, the following relative URL should be called: "/RolleService/mitarbeiterrolle/{id}" (HTTP-DELETE) 3. The RolleView must contain the following fields: - name: Beschreibung type: STRING - name: Name 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 MitarbeiterRolle columns: - column: GueltigVon - column: GueltigBis - column: Mitarbeiter - column: Rolle The table should have the title "MitarbeiterRolles" und the data must be loaded from the server with the following relative URL: "/RolleService/mitarbeiterrolle/rolle/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum