Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KommandoApp
Please create a React-JS application for the KommandoModule. The application has to offer the following views for the user interface: 1. KommandoView 2. KursKommandoView 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 KommandoView must contain the following fields: - name: Beschreibung type: STRING - name: IstFortgeschritten type: BOOL - name: IstGrundkommando type: BOOL - name: Name type: STRING An existing Kommando entity should be loaded from the relative URL: "/KommandoService/kommando/{id}" (HTTP-GET) If a new Kommando entity has been created, the new entity should be posted to the relative URL: "/KommandoService/kommando" (HTTP-POST) If an existing Kommando entity has been updated, the modified entity should be sent to the relative URL: "/KommandoService/kommando/{id}" (HTTP-PUT) If an existing Kommando entity has to be deleted, the following relative URL should be called: "/KommandoService/kommando/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursKommando columns: - column: Kurs - column: Kommando - column: Reihenfolge The table should have the title "KursKommandos" und the data must be loaded from the server with the following relative URL: "/KommandoService/kurskommando/kommando/{id}" 2. The KursKommandoView must contain the following fields: - name: Kommando type: Kommando - name: Kurs type: Kurs - name: Reihenfolge type: INT The data source for the [Kommando] select control should be loaded from the relative URL: "/KommandoService/kommando" (HTTP-GET) The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) An existing KursKommando entity should be loaded from the relative URL: "/KommandoService/kurskommando/{id}" (HTTP-GET) If a new KursKommando entity has been created, the new entity should be posted to the relative URL: "/KommandoService/kurskommando" (HTTP-POST) If an existing KursKommando entity has been updated, the modified entity should be sent to the relative URL: "/KommandoService/kurskommando/{id}" (HTTP-PUT) If an existing KursKommando entity has to be deleted, the following relative URL should be called: "/KommandoService/kurskommando/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum