Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechtsgrundlageApp
Please create a React-JS application for the RechtsgrundlageModule. The application has to offer the following views for the user interface: 1. RechtsgrundlageView 2. WohnformRechtsgrundlageView 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 RechtsgrundlageView must contain the following fields: - name: Beschreibung type: STRING - name: Gesetz type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Land type: STRING - name: Paragraph type: STRING An existing Rechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage/{id}" (HTTP-GET) If a new Rechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-POST) If an existing Rechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/rechtsgrundlage/{id}" (HTTP-PUT) If an existing Rechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/rechtsgrundlage/{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/rechtsgrundlage/{id}" 2. The WohnformRechtsgrundlageView must contain the following fields: - name: Notizen type: STRING - name: Rechtsgrundlage type: Rechtsgrundlage - name: Wohnform type: Wohnform The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-GET) The data source for the [Wohnform] select control should be loaded from the relative URL: "/WohnformService/wohnform" (HTTP-GET) An existing WohnformRechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/wohnformrechtsgrundlage/{id}" (HTTP-GET) If a new WohnformRechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/wohnformrechtsgrundlage" (HTTP-POST) If an existing WohnformRechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/wohnformrechtsgrundlage/{id}" (HTTP-PUT) If an existing WohnformRechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/wohnformrechtsgrundlage/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum