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: GesetzTyp type: STRING - name: InkraftDatum type: DATE - name: Land type: Land - name: Name type: STRING - name: Zitierung type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (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 PolizeiGesetz columns: - column: Notizen - column: Polizei - column: Rolle - column: Gesetz The table should have the title "PolizeiGesetzs" und the data must be loaded from the server with the following relative URL: "/GesetzService/polizeigesetz/gesetz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum