Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BeschlusstypApp
Please create a React-JS application for the BeschlusstypModule. The application has to offer the following views for the user interface: 1. BeschlussView 2. BeschlusstypView 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 BeschlussView must contain the following fields: - name: Beschlusstyp type: Beschlusstyp - name: IstSatzungsaenderung type: BOOL - name: Text type: STRING - name: Titel type: STRING - name: Versammlung type: Versammlung The data source for the [Beschlusstyp] select control should be loaded from the relative URL: "/BeschlusstypService/beschlusstyp" (HTTP-GET) The data source for the [Versammlung] select control should be loaded from the relative URL: "/VersammlungService/versammlung" (HTTP-GET) An existing Beschluss entity should be loaded from the relative URL: "/BeschlusstypService/beschluss/{id}" (HTTP-GET) If a new Beschluss entity has been created, the new entity should be posted to the relative URL: "/BeschlusstypService/beschluss" (HTTP-POST) If an existing Beschluss entity has been updated, the modified entity should be sent to the relative URL: "/BeschlusstypService/beschluss/{id}" (HTTP-PUT) If an existing Beschluss entity has to be deleted, the following relative URL should be called: "/BeschlusstypService/beschluss/{id}" (HTTP-DELETE) 2. The BeschlusstypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING An existing Beschlusstyp entity should be loaded from the relative URL: "/BeschlusstypService/beschlusstyp/{id}" (HTTP-GET) If a new Beschlusstyp entity has been created, the new entity should be posted to the relative URL: "/BeschlusstypService/beschlusstyp" (HTTP-POST) If an existing Beschlusstyp entity has been updated, the modified entity should be sent to the relative URL: "/BeschlusstypService/beschlusstyp/{id}" (HTTP-PUT) If an existing Beschlusstyp entity has to be deleted, the following relative URL should be called: "/BeschlusstypService/beschlusstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beschluss columns: - column: Text - column: Versammlung - column: Titel - column: IstSatzungsaenderung - column: Beschlusstyp The table should have the title "Beschlusss" und the data must be loaded from the server with the following relative URL: "/BeschlusstypService/beschluss/beschlusstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum