Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GesetzView
Please create a React-JS view called "GesetzView" for the fields of the Gesetz entity. 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum