Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LehrgangApp
Please create a React-JS application for the LehrgangModule. The application has to offer the following views for the user interface: 1. FeuerwehrmannView 2. FeuerwehrmannLehrgangView 3. LehrgangView 4. SeelsorgerView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The FeuerwehrmannView must contain the following fields: - name: Beschaeftigungsart type: STRING - name: Dienstbeginn type: DATE - name: Dienstende type: DATE - name: Dienstgrad type: STRING - name: Feuerwehr type: Feuerwehr - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: IstFreiwillig type: BOOL - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing Feuerwehrmann entity should be loaded from the relative URL: "/LehrgangService/feuerwehrmann/{id}" (HTTP-GET) If a new Feuerwehrmann entity has been created, the new entity should be posted to the relative URL: "/LehrgangService/feuerwehrmann" (HTTP-POST) If an existing Feuerwehrmann entity has been updated, the modified entity should be sent to the relative URL: "/LehrgangService/feuerwehrmann/{id}" (HTTP-PUT) If an existing Feuerwehrmann entity has to be deleted, the following relative URL should be called: "/LehrgangService/feuerwehrmann/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FeuerwehrmannLehrgang columns: - column: Feuerwehrmann - column: Lehrgang - column: Abschlussdatum - column: ZertifikatNr The table should have the title "FeuerwehrmannLehrgangs" und the data must be loaded from the server with the following relative URL: "/LehrgangService/feuerwehrmannlehrgang/feuerwehrmann/{id}" 2. The FeuerwehrmannLehrgangView must contain the following fields: - name: Abschlussdatum type: DATE - name: Feuerwehrmann type: Feuerwehrmann - name: Lehrgang type: Lehrgang - name: ZertifikatNr type: STRING The data source for the [Feuerwehrmann] select control should be loaded from the relative URL: "/LehrgangService/feuerwehrmann" (HTTP-GET) The data source for the [Lehrgang] select control should be loaded from the relative URL: "/LehrgangService/lehrgang" (HTTP-GET) An existing FeuerwehrmannLehrgang entity should be loaded from the relative URL: "/LehrgangService/feuerwehrmannlehrgang/{id}" (HTTP-GET) If a new FeuerwehrmannLehrgang entity has been created, the new entity should be posted to the relative URL: "/LehrgangService/feuerwehrmannlehrgang" (HTTP-POST) If an existing FeuerwehrmannLehrgang entity has been updated, the modified entity should be sent to the relative URL: "/LehrgangService/feuerwehrmannlehrgang/{id}" (HTTP-PUT) If an existing FeuerwehrmannLehrgang entity has to be deleted, the following relative URL should be called: "/LehrgangService/feuerwehrmannlehrgang/{id}" (HTTP-DELETE) 3. The LehrgangView must contain the following fields: - name: AnbieterArt type: STRING - name: Beschreibung type: STRING - name: Name type: STRING - name: Stufe type: STRING An existing Lehrgang entity should be loaded from the relative URL: "/LehrgangService/lehrgang/{id}" (HTTP-GET) If a new Lehrgang entity has been created, the new entity should be posted to the relative URL: "/LehrgangService/lehrgang" (HTTP-POST) If an existing Lehrgang entity has been updated, the modified entity should be sent to the relative URL: "/LehrgangService/lehrgang/{id}" (HTTP-PUT) If an existing Lehrgang entity has to be deleted, the following relative URL should be called: "/LehrgangService/lehrgang/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FeuerwehrmannLehrgang columns: - column: Feuerwehrmann - column: Lehrgang - column: Abschlussdatum - column: ZertifikatNr The table should have the title "FeuerwehrmannLehrgangs" und the data must be loaded from the server with the following relative URL: "/LehrgangService/feuerwehrmannlehrgang/lehrgang/{id}" 4. The SeelsorgerView must contain the following fields: - name: Beschreibung type: STRING - name: Feuerwehr type: Feuerwehr - name: Name type: STRING The data source for the [Feuerwehr] select control should be loaded from the relative URL: "/FeuerwehrService/feuerwehr" (HTTP-GET) An existing Seelsorger entity should be loaded from the relative URL: "/LehrgangService/seelsorger/{id}" (HTTP-GET) If a new Seelsorger entity has been created, the new entity should be posted to the relative URL: "/LehrgangService/seelsorger" (HTTP-POST) If an existing Seelsorger entity has been updated, the modified entity should be sent to the relative URL: "/LehrgangService/seelsorger/{id}" (HTTP-PUT) If an existing Seelsorger entity has to be deleted, the following relative URL should be called: "/LehrgangService/seelsorger/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum