Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ElternteilApp
Please create a React-JS application for the ElternteilModule. The application has to offer the following views for the user interface: 1. ElternteilView 2. KindElternteilView 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 ElternteilView must contain the following fields: - name: Email type: STRING - name: HatSorgerecht type: BOOL - name: Haushalt type: Haushalt - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [Haushalt] select control should be loaded from the relative URL: "/KommuneService/haushalt" (HTTP-GET) An existing Elternteil entity should be loaded from the relative URL: "/ElternteilService/elternteil/{id}" (HTTP-GET) If a new Elternteil entity has been created, the new entity should be posted to the relative URL: "/ElternteilService/elternteil" (HTTP-POST) If an existing Elternteil entity has been updated, the modified entity should be sent to the relative URL: "/ElternteilService/elternteil/{id}" (HTTP-PUT) If an existing Elternteil entity has to be deleted, the following relative URL should be called: "/ElternteilService/elternteil/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KindElternteil columns: - column: Kind - column: Beziehung - column: Elternteil - column: HatSorgerecht The table should have the title "KindElternteils" und the data must be loaded from the server with the following relative URL: "/ElternteilService/kindelternteil/elternteil/{id}" 2. The KindElternteilView must contain the following fields: - name: Beziehung type: STRING - name: Elternteil type: Elternteil - name: HatSorgerecht type: BOOL - name: Kind type: Kind The data source for the [Kind] select control should be loaded from the relative URL: "/KindService/kind" (HTTP-GET) The data source for the [Elternteil] select control should be loaded from the relative URL: "/ElternteilService/elternteil" (HTTP-GET) An existing KindElternteil entity should be loaded from the relative URL: "/ElternteilService/kindelternteil/{id}" (HTTP-GET) If a new KindElternteil entity has been created, the new entity should be posted to the relative URL: "/ElternteilService/kindelternteil" (HTTP-POST) If an existing KindElternteil entity has been updated, the modified entity should be sent to the relative URL: "/ElternteilService/kindelternteil/{id}" (HTTP-PUT) If an existing KindElternteil entity has to be deleted, the following relative URL should be called: "/ElternteilService/kindelternteil/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum