Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ElektrofachkraftApp
Please create a React-JS application for the ElektrofachkraftModule. The application has to offer the following views for the user interface: 1. ElektrofachbetriebView 2. ElektrofachkraftView 3. ElektrofachkraftQualifikationView 4. PruefberichtView 5. PruefungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The ElektrofachbetriebView must contain the following fields: - name: Adresse type: STRING - name: Beschreibung type: STRING - name: Email type: STRING - name: Name type: STRING - name: Registrierungsnummer type: STRING - name: Telefon type: STRING An existing Elektrofachbetrieb entity should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachbetrieb/{id}" (HTTP-GET) If a new Elektrofachbetrieb entity has been created, the new entity should be posted to the relative URL: "/ElektrofachkraftService/elektrofachbetrieb" (HTTP-POST) If an existing Elektrofachbetrieb entity has been updated, the modified entity should be sent to the relative URL: "/ElektrofachkraftService/elektrofachbetrieb/{id}" (HTTP-PUT) If an existing Elektrofachbetrieb entity has to be deleted, the following relative URL should be called: "/ElektrofachkraftService/elektrofachbetrieb/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Elektrofachkraft columns: - column: Elektrofachbetrieb - column: Nachname - column: Vorname - column: Beschreibung - column: Telefon - column: Email The table should have the title "Elektrofachkrafts" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/elektrofachkraft/elektrofachbetrieb/{id}" 2. The ElektrofachkraftView must contain the following fields: - name: Beschreibung type: STRING - name: Elektrofachbetrieb type: Elektrofachbetrieb - name: Email type: STRING - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [Elektrofachbetrieb] select control should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachbetrieb" (HTTP-GET) An existing Elektrofachkraft entity should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachkraft/{id}" (HTTP-GET) If a new Elektrofachkraft entity has been created, the new entity should be posted to the relative URL: "/ElektrofachkraftService/elektrofachkraft" (HTTP-POST) If an existing Elektrofachkraft entity has been updated, the modified entity should be sent to the relative URL: "/ElektrofachkraftService/elektrofachkraft/{id}" (HTTP-PUT) If an existing Elektrofachkraft entity has to be deleted, the following relative URL should be called: "/ElektrofachkraftService/elektrofachkraft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefbericht columns: - column: Zusammenfassung - column: DateiReferenz - column: VerantwortlichePerson - column: Pruefung - column: Berichtnummer - column: Erstellungsdatum The table should have the title "Pruefberichts" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/pruefbericht/verantwortlicheperson/{id}" Add a HTML table to the view with the following Pruefung columns: - column: Beschreibung - column: Gebaeude - column: Pruefdatum - column: Nutzungseinheit - column: Pruefart - column: Ergebnis - column: Elektrofachkraft The table should have the title "Pruefungs" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/pruefung/elektrofachkraft/{id}" Add a HTML table to the view with the following ElektrofachkraftQualifikation columns: - column: Ablaufdatum - column: Qualifikation - column: Erwerbsdatum - column: Beschreibung - column: Elektrofachkraft The table should have the title "ElektrofachkraftQualifikations" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/elektrofachkraftqualifikation/elektrofachkraft/{id}" 3. The ElektrofachkraftQualifikationView must contain the following fields: - name: Ablaufdatum type: DATE - name: Beschreibung type: STRING - name: Elektrofachkraft type: Elektrofachkraft - name: Erwerbsdatum type: DATE - name: Qualifikation type: Qualifikation The data source for the [Elektrofachkraft] select control should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachkraft" (HTTP-GET) The data source for the [Qualifikation] select control should be loaded from the relative URL: "/NutzungseinheitService/qualifikation" (HTTP-GET) An existing ElektrofachkraftQualifikation entity should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachkraftqualifikation/{id}" (HTTP-GET) If a new ElektrofachkraftQualifikation entity has been created, the new entity should be posted to the relative URL: "/ElektrofachkraftService/elektrofachkraftqualifikation" (HTTP-POST) If an existing ElektrofachkraftQualifikation entity has been updated, the modified entity should be sent to the relative URL: "/ElektrofachkraftService/elektrofachkraftqualifikation/{id}" (HTTP-PUT) If an existing ElektrofachkraftQualifikation entity has to be deleted, the following relative URL should be called: "/ElektrofachkraftService/elektrofachkraftqualifikation/{id}" (HTTP-DELETE) 4. The PruefberichtView must contain the following fields: - name: Berichtnummer type: STRING - name: DateiReferenz type: STRING - name: Erstellungsdatum type: DATE - name: Pruefung type: Pruefung - name: VerantwortlichePerson type: Elektrofachkraft - name: Zusammenfassung type: STRING The data source for the [Pruefung] select control should be loaded from the relative URL: "/ElektrofachkraftService/pruefung" (HTTP-GET) The data source for the [VerantwortlichePerson] select control should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachkraft" (HTTP-GET) An existing Pruefbericht entity should be loaded from the relative URL: "/ElektrofachkraftService/pruefbericht/{id}" (HTTP-GET) If a new Pruefbericht entity has been created, the new entity should be posted to the relative URL: "/ElektrofachkraftService/pruefbericht" (HTTP-POST) If an existing Pruefbericht entity has been updated, the modified entity should be sent to the relative URL: "/ElektrofachkraftService/pruefbericht/{id}" (HTTP-PUT) If an existing Pruefbericht entity has to be deleted, the following relative URL should be called: "/ElektrofachkraftService/pruefbericht/{id}" (HTTP-DELETE) 5. The PruefungView must contain the following fields: - name: Beschreibung type: STRING - name: Elektrofachkraft type: Elektrofachkraft - name: Ergebnis type: STRING - name: Gebaeude type: Gebaeude - name: Nutzungseinheit type: Nutzungseinheit - name: Pruefart type: STRING - name: Pruefdatum type: DATE The data source for the [Elektrofachkraft] select control should be loaded from the relative URL: "/ElektrofachkraftService/elektrofachkraft" (HTTP-GET) The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) The data source for the [Nutzungseinheit] select control should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-GET) An existing Pruefung entity should be loaded from the relative URL: "/ElektrofachkraftService/pruefung/{id}" (HTTP-GET) If a new Pruefung entity has been created, the new entity should be posted to the relative URL: "/ElektrofachkraftService/pruefung" (HTTP-POST) If an existing Pruefung entity has been updated, the modified entity should be sent to the relative URL: "/ElektrofachkraftService/pruefung/{id}" (HTTP-PUT) If an existing Pruefung entity has to be deleted, the following relative URL should be called: "/ElektrofachkraftService/pruefung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefbericht columns: - column: Zusammenfassung - column: DateiReferenz - column: VerantwortlichePerson - column: Pruefung - column: Berichtnummer - column: Erstellungsdatum The table should have the title "Pruefberichts" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/pruefbericht/pruefung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum