Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AufsichtsbehoerdeApp
Please create a React-JS application for the AufsichtsbehoerdeModule. The application has to offer the following views for the user interface: 1. AufsichtsbehoerdeView 2. PruefungView 3. ZahlungView 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 AufsichtsbehoerdeView must contain the following fields: - name: Behoerdenart type: STRING - name: Bundesland type: Bundesland - name: Name type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) An existing Aufsichtsbehoerde entity should be loaded from the relative URL: "/AufsichtsbehoerdeService/aufsichtsbehoerde/{id}" (HTTP-GET) If a new Aufsichtsbehoerde entity has been created, the new entity should be posted to the relative URL: "/AufsichtsbehoerdeService/aufsichtsbehoerde" (HTTP-POST) If an existing Aufsichtsbehoerde entity has been updated, the modified entity should be sent to the relative URL: "/AufsichtsbehoerdeService/aufsichtsbehoerde/{id}" (HTTP-PUT) If an existing Aufsichtsbehoerde entity has to be deleted, the following relative URL should be called: "/AufsichtsbehoerdeService/aufsichtsbehoerde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefung columns: - column: ErgebnisKurz - column: Pruefart - column: Pruefdatum - column: BerichtHinweis - column: Pflegeheim - column: Aufsichtsbehoerde The table should have the title "Pruefungs" und the data must be loaded from the server with the following relative URL: "/AufsichtsbehoerdeService/pruefung/aufsichtsbehoerde/{id}" 2. The PruefungView must contain the following fields: - name: Aufsichtsbehoerde type: Aufsichtsbehoerde - name: BerichtHinweis type: STRING - name: ErgebnisKurz type: STRING - name: Pflegeheim type: Pflegeheim - name: Pruefart type: STRING - name: Pruefdatum 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 [Pflegeheim] select control should be loaded from the relative URL: "/PflegeheimService/pflegeheim" (HTTP-GET) An existing Pruefung entity should be loaded from the relative URL: "/AufsichtsbehoerdeService/pruefung/{id}" (HTTP-GET) If a new Pruefung entity has been created, the new entity should be posted to the relative URL: "/AufsichtsbehoerdeService/pruefung" (HTTP-POST) If an existing Pruefung entity has been updated, the modified entity should be sent to the relative URL: "/AufsichtsbehoerdeService/pruefung/{id}" (HTTP-PUT) If an existing Pruefung entity has to be deleted, the following relative URL should be called: "/AufsichtsbehoerdeService/pruefung/{id}" (HTTP-DELETE) 3. The ZahlungView must contain the following fields: - name: Bemerkung type: STRING - name: Betrag type: DOUBLE - name: Bewohner type: Bewohner - name: Heimvertrag type: Heimvertrag - name: LeistenderTyp type: STRING - name: Zahlungsart type: STRING - name: Zahlungsdatum type: DATE The data source for the [Heimvertrag] select control should be loaded from the relative URL: "/HeimvertragService/heimvertrag" (HTTP-GET) The data source for the [Bewohner] select control should be loaded from the relative URL: "/PflegegradService/bewohner" (HTTP-GET) An existing Zahlung entity should be loaded from the relative URL: "/AufsichtsbehoerdeService/zahlung/{id}" (HTTP-GET) If a new Zahlung entity has been created, the new entity should be posted to the relative URL: "/AufsichtsbehoerdeService/zahlung" (HTTP-POST) If an existing Zahlung entity has been updated, the modified entity should be sent to the relative URL: "/AufsichtsbehoerdeService/zahlung/{id}" (HTTP-PUT) If an existing Zahlung entity has to be deleted, the following relative URL should be called: "/AufsichtsbehoerdeService/zahlung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum