Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrschuelerApp
Please create a React-JS application for the FahrschuelerModule. The application has to offer the following views for the user interface: 1. BegleitpersonZuweisungView 2. FahrschuelerView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The BegleitpersonZuweisungView must contain the following fields: - name: EndDatum type: DATE - name: Fahrschueler type: Fahrschueler - name: MaxPunkte type: INT - name: Mindestalter type: INT - name: MindestjahreBesitz type: INT - name: Person type: Person - name: StartDatum type: DATE The data source for the [Fahrschueler] select control should be loaded from the relative URL: "/FahrschuelerService/fahrschueler" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing BegleitpersonZuweisung entity should be loaded from the relative URL: "/FahrschuelerService/begleitpersonzuweisung/{id}" (HTTP-GET) If a new BegleitpersonZuweisung entity has been created, the new entity should be posted to the relative URL: "/FahrschuelerService/begleitpersonzuweisung" (HTTP-POST) If an existing BegleitpersonZuweisung entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuelerService/begleitpersonzuweisung/{id}" (HTTP-PUT) If an existing BegleitpersonZuweisung entity has to be deleted, the following relative URL should be called: "/FahrschuelerService/begleitpersonzuweisung/{id}" (HTTP-DELETE) 2. The FahrschuelerView must contain the following fields: - name: ErstantragDatum type: DATE - name: HatVorbesitz type: BOOL - name: Notizen type: STRING - name: Person type: Person The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Fahrschueler entity should be loaded from the relative URL: "/FahrschuelerService/fahrschueler/{id}" (HTTP-GET) If a new Fahrschueler entity has been created, the new entity should be posted to the relative URL: "/FahrschuelerService/fahrschueler" (HTTP-POST) If an existing Fahrschueler entity has been updated, the modified entity should be sent to the relative URL: "/FahrschuelerService/fahrschueler/{id}" (HTTP-PUT) If an existing Fahrschueler entity has to be deleted, the following relative URL should be called: "/FahrschuelerService/fahrschueler/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BegleitpersonZuweisung columns: - column: Fahrschueler - column: MaxPunkte - column: Person - column: StartDatum - column: Mindestalter - column: EndDatum - column: MindestjahreBesitz The table should have the title "BegleitpersonZuweisungs" und the data must be loaded from the server with the following relative URL: "/FahrschuelerService/begleitpersonzuweisung/fahrschueler/{id}" Add a HTML table to the view with the following Anmeldung columns: - column: Fahrschule - column: AnmeldeDatum - column: Fahrschueler - column: Fuehrerscheinklasse - column: GeplantesPruefDatum - column: StatusCode The table should have the title "Anmeldungs" und the data must be loaded from the server with the following relative URL: "/FahrschuleService/anmeldung/fahrschueler/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum