Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WohnformApp
Please create a React-JS application for the WohnformModule. The application has to offer the following views for the user interface: 1. BewohnerWohnformView 2. WohnformView 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 BewohnerWohnformView must contain the following fields: - name: Bewohner type: Bewohner - name: BisDatum type: DATE - name: VonDatum type: DATE - name: Wohnform type: Wohnform The data source for the [Wohnform] select control should be loaded from the relative URL: "/WohnformService/wohnform" (HTTP-GET) The data source for the [Bewohner] select control should be loaded from the relative URL: "/BewohnerService/bewohner" (HTTP-GET) An existing BewohnerWohnform entity should be loaded from the relative URL: "/WohnformService/bewohnerwohnform/{id}" (HTTP-GET) If a new BewohnerWohnform entity has been created, the new entity should be posted to the relative URL: "/WohnformService/bewohnerwohnform" (HTTP-POST) If an existing BewohnerWohnform entity has been updated, the modified entity should be sent to the relative URL: "/WohnformService/bewohnerwohnform/{id}" (HTTP-PUT) If an existing BewohnerWohnform entity has to be deleted, the following relative URL should be called: "/WohnformService/bewohnerwohnform/{id}" (HTTP-DELETE) 2. The WohnformView must contain the following fields: - name: Beschreibung type: STRING - name: IstAmbulant type: BOOL - name: IstFuerSenioren type: BOOL - name: IstStationaer type: BOOL - name: Name type: STRING An existing Wohnform entity should be loaded from the relative URL: "/WohnformService/wohnform/{id}" (HTTP-GET) If a new Wohnform entity has been created, the new entity should be posted to the relative URL: "/WohnformService/wohnform" (HTTP-POST) If an existing Wohnform entity has been updated, the modified entity should be sent to the relative URL: "/WohnformService/wohnform/{id}" (HTTP-PUT) If an existing Wohnform entity has to be deleted, the following relative URL should be called: "/WohnformService/wohnform/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WohnformRechtsgrundlage columns: - column: Notizen - column: Wohnform - column: Rechtsgrundlage The table should have the title "WohnformRechtsgrundlages" und the data must be loaded from the server with the following relative URL: "/RechtsgrundlageService/wohnformrechtsgrundlage/wohnform/{id}" Add a HTML table to the view with the following Vertrag columns: - column: Vertragstyp - column: Traegerorganisation - column: Enddatum - column: Wohnung - column: Bewohner - column: Wohnform - column: Startdatum - column: Notizen The table should have the title "Vertrags" und the data must be loaded from the server with the following relative URL: "/TraegerorganisationService/vertrag/wohnform/{id}" Add a HTML table to the view with the following BewohnerWohnform columns: - column: VonDatum - column: BisDatum - column: Wohnform - column: Bewohner The table should have the title "BewohnerWohnforms" und the data must be loaded from the server with the following relative URL: "/WohnformService/bewohnerwohnform/wohnform/{id}" Add a HTML table to the view with the following WohnformLandesvariante columns: - column: Wohnform - column: Landesvariante - column: Notizen The table should have the title "WohnformLandesvariantes" und the data must be loaded from the server with the following relative URL: "/LandesvarianteService/wohnformlandesvariante/wohnform/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum