Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KursApp
Please create a React-JS application for the KursModule. The application has to offer the following views for the user interface: 1. KursView 2. PersonKursView 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 KursView must contain the following fields: - name: Anbieter type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: IstErsteHilfe type: BOOL - name: IstQhb300 type: BOOL - name: Stunden type: LONG - name: Titel type: STRING An existing Kurs entity should be loaded from the relative URL: "/KursService/kurs/{id}" (HTTP-GET) If a new Kurs entity has been created, the new entity should be posted to the relative URL: "/KursService/kurs" (HTTP-POST) If an existing Kurs entity has been updated, the modified entity should be sent to the relative URL: "/KursService/kurs/{id}" (HTTP-PUT) If an existing Kurs entity has to be deleted, the following relative URL should be called: "/KursService/kurs/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PersonKurs columns: - column: ZertifikatNummer - column: AbschlussDatum - column: Kurs - column: Tagespflegeperson The table should have the title "PersonKurss" und the data must be loaded from the server with the following relative URL: "/KursService/personkurs/kurs/{id}" 2. The PersonKursView must contain the following fields: - name: AbschlussDatum type: DATE - name: Kurs type: Kurs - name: Tagespflegeperson type: Tagespflegeperson - name: ZertifikatNummer type: STRING The data source for the [Tagespflegeperson] select control should be loaded from the relative URL: "/TagespflegepersonService/tagespflegeperson" (HTTP-GET) The data source for the [Kurs] select control should be loaded from the relative URL: "/KursService/kurs" (HTTP-GET) An existing PersonKurs entity should be loaded from the relative URL: "/KursService/personkurs/{id}" (HTTP-GET) If a new PersonKurs entity has been created, the new entity should be posted to the relative URL: "/KursService/personkurs" (HTTP-POST) If an existing PersonKurs entity has been updated, the modified entity should be sent to the relative URL: "/KursService/personkurs/{id}" (HTTP-PUT) If an existing PersonKurs entity has to be deleted, the following relative URL should be called: "/KursService/personkurs/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum