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. GenehmigungGesetzView 2. GesetzView 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 GenehmigungGesetzView must contain the following fields: - name: Genehmigung type: Genehmigung - name: Gesetz type: Gesetz The data source for the [Genehmigung] select control should be loaded from the relative URL: "/GenehmigungService/genehmigung" (HTTP-GET) The data source for the [Gesetz] select control should be loaded from the relative URL: "/GesetzService/gesetz" (HTTP-GET) An existing GenehmigungGesetz entity should be loaded from the relative URL: "/GesetzService/genehmigunggesetz/{id}" (HTTP-GET) If a new GenehmigungGesetz entity has been created, the new entity should be posted to the relative URL: "/GesetzService/genehmigunggesetz" (HTTP-POST) If an existing GenehmigungGesetz entity has been updated, the modified entity should be sent to the relative URL: "/GesetzService/genehmigunggesetz/{id}" (HTTP-PUT) If an existing GenehmigungGesetz entity has to be deleted, the following relative URL should be called: "/GesetzService/genehmigunggesetz/{id}" (HTTP-DELETE) 2. The GesetzView must contain the following fields: - name: Beschreibung type: STRING - name: InKraftSeit type: DATE - name: Name type: STRING - name: Paragraph type: STRING 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 GenehmigungGesetz columns: - column: Genehmigung - column: Gesetz The table should have the title "GenehmigungGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/genehmigunggesetz/gesetz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum