Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DokumenttypApp
Please create a React-JS application for the DokumenttypModule. The application has to offer the following views for the user interface: 1. DokumenttypView 2. OrgantypView 3. VereinsartView 4. VereinVereinsartView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The DokumenttypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING An existing Dokumenttyp entity should be loaded from the relative URL: "/DokumenttypService/dokumenttyp/{id}" (HTTP-GET) If a new Dokumenttyp entity has been created, the new entity should be posted to the relative URL: "/DokumenttypService/dokumenttyp" (HTTP-POST) If an existing Dokumenttyp entity has been updated, the modified entity should be sent to the relative URL: "/DokumenttypService/dokumenttyp/{id}" (HTTP-PUT) If an existing Dokumenttyp entity has to be deleted, the following relative URL should be called: "/DokumenttypService/dokumenttyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Dokument columns: - column: Dokumenttyp - column: Verein - column: Titel - column: Url - column: Erstellungsdatum - column: Beschreibung The table should have the title "Dokuments" und the data must be loaded from the server with the following relative URL: "/VereinService/dokument/dokumenttyp/{id}" 2. The OrgantypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING - name: IstPflichtorgan type: BOOL An existing Organtyp entity should be loaded from the relative URL: "/DokumenttypService/organtyp/{id}" (HTTP-GET) If a new Organtyp entity has been created, the new entity should be posted to the relative URL: "/DokumenttypService/organtyp" (HTTP-POST) If an existing Organtyp entity has been updated, the modified entity should be sent to the relative URL: "/DokumenttypService/organtyp/{id}" (HTTP-PUT) If an existing Organtyp entity has to be deleted, the following relative URL should be called: "/DokumenttypService/organtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Organ columns: - column: Name - column: Verein - column: Organtyp - column: Beschreibung The table should have the title "Organs" und the data must be loaded from the server with the following relative URL: "/VereinService/organ/organtyp/{id}" 3. The VereinsartView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING An existing Vereinsart entity should be loaded from the relative URL: "/DokumenttypService/vereinsart/{id}" (HTTP-GET) If a new Vereinsart entity has been created, the new entity should be posted to the relative URL: "/DokumenttypService/vereinsart" (HTTP-POST) If an existing Vereinsart entity has been updated, the modified entity should be sent to the relative URL: "/DokumenttypService/vereinsart/{id}" (HTTP-PUT) If an existing Vereinsart entity has to be deleted, the following relative URL should be called: "/DokumenttypService/vereinsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VereinVereinsart columns: - column: Vereinsart - column: Verein The table should have the title "VereinVereinsarts" und the data must be loaded from the server with the following relative URL: "/DokumenttypService/vereinvereinsart/vereinsart/{id}" 4. The VereinVereinsartView must contain the following fields: - name: Verein type: Verein - name: Vereinsart type: Vereinsart The data source for the [Vereinsart] select control should be loaded from the relative URL: "/DokumenttypService/vereinsart" (HTTP-GET) The data source for the [Verein] select control should be loaded from the relative URL: "/VereinService/verein" (HTTP-GET) An existing VereinVereinsart entity should be loaded from the relative URL: "/DokumenttypService/vereinvereinsart/{id}" (HTTP-GET) If a new VereinVereinsart entity has been created, the new entity should be posted to the relative URL: "/DokumenttypService/vereinvereinsart" (HTTP-POST) If an existing VereinVereinsart entity has been updated, the modified entity should be sent to the relative URL: "/DokumenttypService/vereinvereinsart/{id}" (HTTP-PUT) If an existing VereinVereinsart entity has to be deleted, the following relative URL should be called: "/DokumenttypService/vereinvereinsart/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum