Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FreierTraegerApp
Please create a React-JS application for the FreierTraegerModule. The application has to offer the following views for the user interface: 1. EinrichtungFreierTraegerView 2. FreierTraegerView 3. InobhutnahmeFallView 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 EinrichtungFreierTraegerView must contain the following fields: - name: BeginnTraegerschaft type: DATE - name: Einrichtung type: Einrichtung - name: EndeTraegerschaft type: DATE - name: FreierTraeger type: FreierTraeger The data source for the [FreierTraeger] select control should be loaded from the relative URL: "/FreierTraegerService/freiertraeger" (HTTP-GET) The data source for the [Einrichtung] select control should be loaded from the relative URL: "/EinrichtungService/einrichtung" (HTTP-GET) An existing EinrichtungFreierTraeger entity should be loaded from the relative URL: "/FreierTraegerService/einrichtungfreiertraeger/{id}" (HTTP-GET) If a new EinrichtungFreierTraeger entity has been created, the new entity should be posted to the relative URL: "/FreierTraegerService/einrichtungfreiertraeger" (HTTP-POST) If an existing EinrichtungFreierTraeger entity has been updated, the modified entity should be sent to the relative URL: "/FreierTraegerService/einrichtungfreiertraeger/{id}" (HTTP-PUT) If an existing EinrichtungFreierTraeger entity has to be deleted, the following relative URL should be called: "/FreierTraegerService/einrichtungfreiertraeger/{id}" (HTTP-DELETE) 2. The FreierTraegerView must contain the following fields: - name: AnerkanntNachSGBVIII type: BOOL - name: Bundesland type: STRING - name: Name type: STRING - name: TraegerTyp type: STRING An existing FreierTraeger entity should be loaded from the relative URL: "/FreierTraegerService/freiertraeger/{id}" (HTTP-GET) If a new FreierTraeger entity has been created, the new entity should be posted to the relative URL: "/FreierTraegerService/freiertraeger" (HTTP-POST) If an existing FreierTraeger entity has been updated, the modified entity should be sent to the relative URL: "/FreierTraegerService/freiertraeger/{id}" (HTTP-PUT) If an existing FreierTraeger entity has to be deleted, the following relative URL should be called: "/FreierTraegerService/freiertraeger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kooperationsvereinbarung columns: - column: Beginn - column: Gegenstand - column: SchutzauftragRegelung - column: Jugendamt - column: Ende - column: FreierTraeger - column: BeratungsanspruchInsoweitErfahreneFachkraft The table should have the title "Kooperationsvereinbarungs" und the data must be loaded from the server with the following relative URL: "/PersonService/kooperationsvereinbarung/freiertraeger/{id}" Add a HTML table to the view with the following EinrichtungFreierTraeger columns: - column: Einrichtung - column: BeginnTraegerschaft - column: EndeTraegerschaft - column: FreierTraeger The table should have the title "EinrichtungFreierTraegers" und the data must be loaded from the server with the following relative URL: "/FreierTraegerService/einrichtungfreiertraeger/freiertraeger/{id}" 3. The InobhutnahmeFallView must contain the following fields: - name: Beginn type: DATE - name: BetroffenePerson type: Person - name: Einrichtung type: Einrichtung - name: Ende type: DATE - name: Familie type: Familie - name: GegenWillenSorgeberechtigter type: BOOL - name: GerichtlicheEntscheidung type: STRING - name: GerichtlicheEntscheidungErforderlich type: BOOL - name: Grund type: STRING - name: Jugendamt type: Jugendamt - name: Pflegeperson type: Pflegeperson - name: Unterbringungsart type: STRING The data source for the [Jugendamt] select control should be loaded from the relative URL: "/JugendamtService/jugendamt" (HTTP-GET) The data source for the [Pflegeperson] select control should be loaded from the relative URL: "/PflegepersonService/pflegeperson" (HTTP-GET) The data source for the [Familie] select control should be loaded from the relative URL: "/FamilieService/familie" (HTTP-GET) The data source for the [BetroffenePerson] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) The data source for the [Einrichtung] select control should be loaded from the relative URL: "/EinrichtungService/einrichtung" (HTTP-GET) An existing InobhutnahmeFall entity should be loaded from the relative URL: "/FreierTraegerService/inobhutnahmefall/{id}" (HTTP-GET) If a new InobhutnahmeFall entity has been created, the new entity should be posted to the relative URL: "/FreierTraegerService/inobhutnahmefall" (HTTP-POST) If an existing InobhutnahmeFall entity has been updated, the modified entity should be sent to the relative URL: "/FreierTraegerService/inobhutnahmefall/{id}" (HTTP-PUT) If an existing InobhutnahmeFall entity has to be deleted, the following relative URL should be called: "/FreierTraegerService/inobhutnahmefall/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum