Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. BegleitpersonZuweisungView 2. FahrschuleAufsichtView 3. PersonView 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 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: "/FahrschuleService/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: "/PersonService/begleitpersonzuweisung/{id}" (HTTP-GET) If a new BegleitpersonZuweisung entity has been created, the new entity should be posted to the relative URL: "/PersonService/begleitpersonzuweisung" (HTTP-POST) If an existing BegleitpersonZuweisung entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/begleitpersonzuweisung/{id}" (HTTP-PUT) If an existing BegleitpersonZuweisung entity has to be deleted, the following relative URL should be called: "/PersonService/begleitpersonzuweisung/{id}" (HTTP-DELETE) 2. The FahrschuleAufsichtView must contain the following fields: - name: Aufsichtsbehoerde type: Aufsichtsbehoerde - name: Aufsichtstyp type: STRING - name: EndDatum type: DATE - name: Fahrschule type: Fahrschule - name: StartDatum type: DATE The data source for the [Aufsichtsbehoerde] select control should be loaded from the relative URL: "/AufsichtsbehoerdeService/aufsichtsbehoerde" (HTTP-GET) The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) An existing FahrschuleAufsicht entity should be loaded from the relative URL: "/PersonService/fahrschuleaufsicht/{id}" (HTTP-GET) If a new FahrschuleAufsicht entity has been created, the new entity should be posted to the relative URL: "/PersonService/fahrschuleaufsicht" (HTTP-POST) If an existing FahrschuleAufsicht entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/fahrschuleaufsicht/{id}" (HTTP-PUT) If an existing FahrschuleAufsicht entity has to be deleted, the following relative URL should be called: "/PersonService/fahrschuleaufsicht/{id}" (HTTP-DELETE) 3. The PersonView must contain the following fields: - name: Ausweisnummer type: STRING - name: Email type: STRING - name: Geburtsdatum type: DATE - name: GeschlechtCode type: STRING - name: Nachname type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Telefon type: STRING - name: Vorname type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrschueler columns: - column: ErstantragDatum - column: HatVorbesitz - column: Notizen - column: Person The table should have the title "Fahrschuelers" und the data must be loaded from the server with the following relative URL: "/FahrschuleService/fahrschueler/person/{id}" Add a HTML table to the view with the following Fahrlehrer columns: - column: IstAktiv - column: Person - column: Hauptklasse - column: ErsterlaubnisDatum The table should have the title "Fahrlehrers" und the data must be loaded from the server with the following relative URL: "/FahrlehrerService/fahrlehrer/person/{id}" Add a HTML table to the view with the following BegleitpersonZuweisung columns: - column: Mindestalter - column: MindestjahreBesitz - column: Fahrschueler - column: EndDatum - column: StartDatum - column: MaxPunkte - column: Person The table should have the title "BegleitpersonZuweisungs" und the data must be loaded from the server with the following relative URL: "/PersonService/begleitpersonzuweisung/person/{id}" Add a HTML table to the view with the following Pruefer columns: - column: Person - column: IstBeamter - column: IstTechnischerExperte - column: Arbeitgeber The table should have the title "Pruefers" und the data must be loaded from the server with the following relative URL: "/FahrschuleService/pruefer/person/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum