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. DokumentView 2. DokumenttypView 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 DokumentView must contain the following fields: - name: Beschreibung type: STRING - name: Dokumenttyp type: Dokumenttyp - name: Erstellungsdatum type: DATE - name: Titel type: STRING - name: Url type: STRING - name: Verein type: Verein The data source for the [Verein] select control should be loaded from the relative URL: "/VereinService/verein" (HTTP-GET) The data source for the [Dokumenttyp] select control should be loaded from the relative URL: "/DokumenttypService/dokumenttyp" (HTTP-GET) An existing Dokument entity should be loaded from the relative URL: "/DokumenttypService/dokument/{id}" (HTTP-GET) If a new Dokument entity has been created, the new entity should be posted to the relative URL: "/DokumenttypService/dokument" (HTTP-POST) If an existing Dokument entity has been updated, the modified entity should be sent to the relative URL: "/DokumenttypService/dokument/{id}" (HTTP-PUT) If an existing Dokument entity has to be deleted, the following relative URL should be called: "/DokumenttypService/dokument/{id}" (HTTP-DELETE) 2. 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: Beschreibung - column: Verein - column: Dokumenttyp - column: Url - column: Titel - column: Erstellungsdatum The table should have the title "Dokuments" und the data must be loaded from the server with the following relative URL: "/DokumenttypService/dokument/dokumenttyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum