Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UmweltreizApp
Please create a React-JS application for the UmweltreizModule. The application has to offer the following views for the user interface: 1. KursteilnahmeView 2. KursUmweltreizView 3. UmweltreizView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The KursteilnahmeView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: Erfolgsstatus type: STRING - name: Hund type: Hund - name: Kurs type: Kurs - name: Notizen type: STRING The data source for the [Hund] select control should be loaded from the relative URL: "/HundService/hund" (HTTP-GET) The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) An existing Kursteilnahme entity should be loaded from the relative URL: "/UmweltreizService/kursteilnahme/{id}" (HTTP-GET) If a new Kursteilnahme entity has been created, the new entity should be posted to the relative URL: "/UmweltreizService/kursteilnahme" (HTTP-POST) If an existing Kursteilnahme entity has been updated, the modified entity should be sent to the relative URL: "/UmweltreizService/kursteilnahme/{id}" (HTTP-PUT) If an existing Kursteilnahme entity has to be deleted, the following relative URL should be called: "/UmweltreizService/kursteilnahme/{id}" (HTTP-DELETE) 2. The KursUmweltreizView must contain the following fields: - name: Kurs type: Kurs - name: Umweltreiz type: Umweltreiz The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) The data source for the [Umweltreiz] select control should be loaded from the relative URL: "/UmweltreizService/umweltreiz" (HTTP-GET) An existing KursUmweltreiz entity should be loaded from the relative URL: "/UmweltreizService/kursumweltreiz/{id}" (HTTP-GET) If a new KursUmweltreiz entity has been created, the new entity should be posted to the relative URL: "/UmweltreizService/kursumweltreiz" (HTTP-POST) If an existing KursUmweltreiz entity has been updated, the modified entity should be sent to the relative URL: "/UmweltreizService/kursumweltreiz/{id}" (HTTP-PUT) If an existing KursUmweltreiz entity has to be deleted, the following relative URL should be called: "/UmweltreizService/kursumweltreiz/{id}" (HTTP-DELETE) 3. The UmweltreizView must contain the following fields: - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Name type: STRING An existing Umweltreiz entity should be loaded from the relative URL: "/UmweltreizService/umweltreiz/{id}" (HTTP-GET) If a new Umweltreiz entity has been created, the new entity should be posted to the relative URL: "/UmweltreizService/umweltreiz" (HTTP-POST) If an existing Umweltreiz entity has been updated, the modified entity should be sent to the relative URL: "/UmweltreizService/umweltreiz/{id}" (HTTP-PUT) If an existing Umweltreiz entity has to be deleted, the following relative URL should be called: "/UmweltreizService/umweltreiz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursUmweltreiz columns: - column: Kurs - column: Umweltreiz The table should have the title "KursUmweltreizs" und the data must be loaded from the server with the following relative URL: "/UmweltreizService/kursumweltreiz/umweltreiz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum