Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GesetzApp
Please create a React-JS application for the GesetzModule. The application has to offer the following views for the user interface: 1. GesetzView 2. GesetzBezugView 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 GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Paragraph type: STRING - name: Staat type: Staat - name: Titel type: STRING The data source for the [Staat] select control should be loaded from the relative URL: "/StaatService/staat" (HTTP-GET) An existing Gesetz entity should be loaded from the relative URL: "/GesetzService/gesetz/{id}" (HTTP-GET) If a new Gesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/gesetz" (HTTP-POST) If an existing Gesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/gesetz/{id}" (HTTP-PUT) If an existing Gesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/gesetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GesetzBezug columns: - column: Kontext - column: Beschreibung - column: Gesetz The table should have the title "GesetzBezugs" und the data must be loaded from the server with the following relative URL: "/GesetzService/gesetzbezug/gesetz/{id}" 2. The GesetzBezugView must contain the following fields: - name: Beschreibung type: STRING - name: Gesetz type: Gesetz - name: Kontext type: STRING The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing GesetzBezug entity should be loaded from the relative URL: "/GesetzService/gesetzbezug/{id}" (HTTP-GET) If a new GesetzBezug entity has been created, the new entity should be posted to the relative URL: "/GesetzService/gesetzbezug" (HTTP-POST) If an existing GesetzBezug entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/gesetzbezug/{id}" (HTTP-PUT) If an existing GesetzBezug entity has to be deleted, the following relative URL should be called: "/GesetzService/gesetzbezug/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum