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. AuslaenderStatusView 2. DokumentView 3. PersonView 4. WehrdienstErfassungView 5. WohnsitzView 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 AuslaenderStatusView must contain the following fields: - name: Aufenthaltstitel type: STRING - name: Behoerde type: Behoerde - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Person type: Person - name: TitelNummer type: STRING The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Behoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) An existing AuslaenderStatus entity should be loaded from the relative URL: "/PersonService/auslaenderstatus/{id}" (HTTP-GET) If a new AuslaenderStatus entity has been created, the new entity should be posted to the relative URL: "/PersonService/auslaenderstatus" (HTTP-POST) If an existing AuslaenderStatus entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/auslaenderstatus/{id}" (HTTP-PUT) If an existing AuslaenderStatus entity has to be deleted, the following relative URL should be called: "/PersonService/auslaenderstatus/{id}" (HTTP-DELETE) 2. The DokumentView must contain the following fields: - name: Ablaufdatum type: DATE - name: AusstellendeBehoerde type: Behoerde - name: Ausstellungsdatum type: DATE - name: DokumentNummer type: STRING - name: DokumentTyp type: STRING - name: Person type: Person The data source for the [AusstellendeBehoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Dokument entity should be loaded from the relative URL: "/PersonService/dokument/{id}" (HTTP-GET) If a new Dokument entity has been created, the new entity should be posted to the relative URL: "/PersonService/dokument" (HTTP-POST) If an existing Dokument entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/dokument/{id}" (HTTP-PUT) If an existing Dokument entity has to be deleted, the following relative URL should be called: "/PersonService/dokument/{id}" (HTTP-DELETE) 3. The PersonView must contain the following fields: - name: AnzahlKinder type: INT - name: Familienname type: STRING - name: Familienstand type: STRING - name: Geburtsdatum type: DATE - name: Geburtsname type: STRING - name: Geburtsort type: STRING - name: Geschlecht type: STRING - name: IstVerstorben type: BOOL - name: Religion type: STRING - name: Staatsangehoerigkeit type: STRING - name: Sterbedatum type: DATE - name: TitelAkademisch type: STRING - name: TitelDoktor type: STRING - name: Vornamen 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 Antrag columns: - column: Antragsdatum - column: Status - column: Behoerde - column: Gebuehr - column: Person - column: AntragTyp The table should have the title "Antrags" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/antrag/person/{id}" Add a HTML table to the view with the following MelderegisterEintrag columns: - column: Status - column: HauptWohnadresse - column: AktuelleGemeinde - column: ErstRegistriertAm - column: Person - column: LetzteAktualisierung The table should have the title "MelderegisterEintrags" und the data must be loaded from the server with the following relative URL: "/GemeindeService/melderegistereintrag/person/{id}" Add a HTML table to the view with the following WehrdienstErfassung columns: - column: Gemeinde - column: Person - column: Hinweis - column: Erfassungsdatum - column: Status The table should have the title "WehrdienstErfassungs" und the data must be loaded from the server with the following relative URL: "/PersonService/wehrdiensterfassung/person/{id}" Add a HTML table to the view with the following MigrationsAntrag columns: - column: Status - column: Hinweis - column: Antragsdatum - column: Person - column: Zielland - column: Herkunftsland The table should have the title "MigrationsAntrags" und the data must be loaded from the server with the following relative URL: "/GemeindeService/migrationsantrag/person/{id}" Add a HTML table to the view with the following MeldeVorgang columns: - column: Datum - column: Vorgangsart - column: NeueGemeinde - column: VorherigeGemeinde - column: Behoerde - column: Person - column: Vorgangsnummer The table should have the title "MeldeVorgangs" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/meldevorgang/person/{id}" Add a HTML table to the view with the following AuslaenderStatus columns: - column: GueltigBis - column: GueltigVon - column: Person - column: TitelNummer - column: Behoerde - column: Aufenthaltstitel The table should have the title "AuslaenderStatuss" und the data must be loaded from the server with the following relative URL: "/PersonService/auslaenderstatus/person/{id}" Add a HTML table to the view with the following Dokument columns: - column: Ausstellungsdatum - column: DokumentNummer - column: Ablaufdatum - column: AusstellendeBehoerde - column: DokumentTyp - column: Person The table should have the title "Dokuments" und the data must be loaded from the server with the following relative URL: "/PersonService/dokument/person/{id}" Add a HTML table to the view with the following Wohnsitz columns: - column: IstHauptwohnung - column: Adresse - column: Einzugsdatum - column: Auszugsdatum - column: Person - column: WohnsitzArt The table should have the title "Wohnsitzs" und the data must be loaded from the server with the following relative URL: "/PersonService/wohnsitz/person/{id}" 4. The WehrdienstErfassungView must contain the following fields: - name: Erfassungsdatum type: DATE - name: Gemeinde type: Gemeinde - name: Hinweis type: STRING - name: Person type: Person - name: Status type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing WehrdienstErfassung entity should be loaded from the relative URL: "/PersonService/wehrdiensterfassung/{id}" (HTTP-GET) If a new WehrdienstErfassung entity has been created, the new entity should be posted to the relative URL: "/PersonService/wehrdiensterfassung" (HTTP-POST) If an existing WehrdienstErfassung entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/wehrdiensterfassung/{id}" (HTTP-PUT) If an existing WehrdienstErfassung entity has to be deleted, the following relative URL should be called: "/PersonService/wehrdiensterfassung/{id}" (HTTP-DELETE) 5. The WohnsitzView must contain the following fields: - name: Adresse type: Adresse - name: Auszugsdatum type: DATE - name: Einzugsdatum type: DATE - name: IstHauptwohnung type: BOOL - name: Person type: Person - name: WohnsitzArt type: STRING The data source for the [Adresse] select control should be loaded from the relative URL: "/GemeindeService/adresse" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Wohnsitz entity should be loaded from the relative URL: "/PersonService/wohnsitz/{id}" (HTTP-GET) If a new Wohnsitz entity has been created, the new entity should be posted to the relative URL: "/PersonService/wohnsitz" (HTTP-POST) If an existing Wohnsitz entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/wohnsitz/{id}" (HTTP-PUT) If an existing Wohnsitz entity has to be deleted, the following relative URL should be called: "/PersonService/wohnsitz/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum