Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrschuleZweigstelleApp
Please create a React-JS application for the FahrschuleZweigstelleModule. The application has to offer the following views for the user interface: 1. FahrschuleZweigstelleView 2. TeilnahmeView 3. TheorieUnterrichtView 4. UnterrichtsartView 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 FahrschuleZweigstelleView must contain the following fields: - name: EroeffnetAm type: DATE - name: Fahrschule type: Fahrschule - name: GeschlossenAm type: DATE - name: Name type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Telefon type: STRING - name: ZweigCode type: STRING The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) An existing FahrschuleZweigstelle entity should be loaded from the relative URL: "/FahrschuleZweigstelleService/fahrschulezweigstelle/{id}" (HTTP-GET) If a new FahrschuleZweigstelle entity has been created, the new entity should be posted to the relative URL: "/FahrschuleZweigstelleService/fahrschulezweigstelle" (HTTP-POST) If an existing FahrschuleZweigstelle entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuleZweigstelleService/fahrschulezweigstelle/{id}" (HTTP-PUT) If an existing FahrschuleZweigstelle entity has to be deleted, the following relative URL should be called: "/FahrschuleZweigstelleService/fahrschulezweigstelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Qualitaetspruefung columns: - column: FahrschuleZweigstelle - column: Pruefungsart - column: HatPraxisbeobachtung - column: AnzahlAbweichungen - column: Ergebnis - column: HatTheoriebeobachtung - column: PruefDatum - column: Aufsichtsbehoerde The table should have the title "Qualitaetspruefungs" und the data must be loaded from the server with the following relative URL: "/AufsichtsbehoerdeService/qualitaetspruefung/fahrschulezweigstelle/{id}" Add a HTML table to the view with the following TheorieUnterricht columns: - column: IstGrundstoff - column: Thema - column: UnterrichtsNummer - column: IstKlassenspezifisch - column: Unterrichtsart - column: FahrschuleZweigstelle - column: DatumZeit - column: Ausbildungsprogramm - column: Fahrlehrer - column: DauerMinuten The table should have the title "TheorieUnterrichts" und the data must be loaded from the server with the following relative URL: "/FahrschuleZweigstelleService/theorieunterricht/fahrschulezweigstelle/{id}" Add a HTML table to the view with the following PraxisUnterricht columns: - column: FahrschuleZweigstelle - column: DatumZeit - column: IstNachtfahrt - column: DauerMinuten - column: IstSonderfahrt - column: IstLandstrassenfahrt - column: Fahrlehrer - column: Fahrzeug - column: Ausbildungsprogramm - column: Unterrichtsart - column: IstAutobahnfahrt The table should have the title "PraxisUnterrichts" und the data must be loaded from the server with the following relative URL: "/LandService/praxisunterricht/fahrschulezweigstelle/{id}" 2. The TeilnahmeView must contain the following fields: - name: Anmeldung type: Anmeldung - name: Anwesenheit type: STRING - name: Bewertung type: STRING - name: PraxisUnterricht type: PraxisUnterricht - name: TheorieUnterricht type: TheorieUnterricht The data source for the [Anmeldung] select control should be loaded from the relative URL: "/FahrschuleService/anmeldung" (HTTP-GET) The data source for the [TheorieUnterricht] select control should be loaded from the relative URL: "/FahrschuleZweigstelleService/theorieunterricht" (HTTP-GET) The data source for the [PraxisUnterricht] select control should be loaded from the relative URL: "/LandService/praxisunterricht" (HTTP-GET) An existing Teilnahme entity should be loaded from the relative URL: "/FahrschuleZweigstelleService/teilnahme/{id}" (HTTP-GET) If a new Teilnahme entity has been created, the new entity should be posted to the relative URL: "/FahrschuleZweigstelleService/teilnahme" (HTTP-POST) If an existing Teilnahme entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuleZweigstelleService/teilnahme/{id}" (HTTP-PUT) If an existing Teilnahme entity has to be deleted, the following relative URL should be called: "/FahrschuleZweigstelleService/teilnahme/{id}" (HTTP-DELETE) 3. The TheorieUnterrichtView must contain the following fields: - name: Ausbildungsprogramm type: Ausbildungsprogramm - name: DatumZeit type: DATE - name: DauerMinuten type: INT - name: Fahrlehrer type: Fahrlehrer - name: FahrschuleZweigstelle type: FahrschuleZweigstelle - name: IstGrundstoff type: BOOL - name: IstKlassenspezifisch type: BOOL - name: Thema type: STRING - name: Unterrichtsart type: Unterrichtsart - name: UnterrichtsNummer type: INT The data source for the [FahrschuleZweigstelle] select control should be loaded from the relative URL: "/FahrschuleZweigstelleService/fahrschulezweigstelle" (HTTP-GET) The data source for the [Fahrlehrer] select control should be loaded from the relative URL: "/FahrlehrerService/fahrlehrer" (HTTP-GET) The data source for the [Ausbildungsprogramm] select control should be loaded from the relative URL: "/LandService/ausbildungsprogramm" (HTTP-GET) The data source for the [Unterrichtsart] select control should be loaded from the relative URL: "/FahrschuleZweigstelleService/unterrichtsart" (HTTP-GET) An existing TheorieUnterricht entity should be loaded from the relative URL: "/FahrschuleZweigstelleService/theorieunterricht/{id}" (HTTP-GET) If a new TheorieUnterricht entity has been created, the new entity should be posted to the relative URL: "/FahrschuleZweigstelleService/theorieunterricht" (HTTP-POST) If an existing TheorieUnterricht entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuleZweigstelleService/theorieunterricht/{id}" (HTTP-PUT) If an existing TheorieUnterricht entity has to be deleted, the following relative URL should be called: "/FahrschuleZweigstelleService/theorieunterricht/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Teilnahme columns: - column: PraxisUnterricht - column: Anmeldung - column: Anwesenheit - column: TheorieUnterricht - column: Bewertung The table should have the title "Teilnahmes" und the data must be loaded from the server with the following relative URL: "/FahrschuleZweigstelleService/teilnahme/theorieunterricht/{id}" 4. The UnterrichtsartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Unterrichtsart entity should be loaded from the relative URL: "/FahrschuleZweigstelleService/unterrichtsart/{id}" (HTTP-GET) If a new Unterrichtsart entity has been created, the new entity should be posted to the relative URL: "/FahrschuleZweigstelleService/unterrichtsart" (HTTP-POST) If an existing Unterrichtsart entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuleZweigstelleService/unterrichtsart/{id}" (HTTP-PUT) If an existing Unterrichtsart entity has to be deleted, the following relative URL should be called: "/FahrschuleZweigstelleService/unterrichtsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TheorieUnterricht columns: - column: IstGrundstoff - column: Thema - column: UnterrichtsNummer - column: IstKlassenspezifisch - column: Unterrichtsart - column: FahrschuleZweigstelle - column: DatumZeit - column: Ausbildungsprogramm - column: Fahrlehrer - column: DauerMinuten The table should have the title "TheorieUnterrichts" und the data must be loaded from the server with the following relative URL: "/FahrschuleZweigstelleService/theorieunterricht/unterrichtsart/{id}" Add a HTML table to the view with the following PraxisUnterricht columns: - column: FahrschuleZweigstelle - column: DatumZeit - column: IstNachtfahrt - column: DauerMinuten - column: IstSonderfahrt - column: IstLandstrassenfahrt - column: Fahrlehrer - column: Fahrzeug - column: Ausbildungsprogramm - column: Unterrichtsart - column: IstAutobahnfahrt The table should have the title "PraxisUnterrichts" und the data must be loaded from the server with the following relative URL: "/LandService/praxisunterricht/unterrichtsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum