Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KursView
Please create a React-JS view called "KursView" for the fields of the Kurs entity. The KursView must contain the following fields: - name: FitnessStudio type: FitnessStudio - name: IstAktiv type: BOOL - name: IstNurFrauen type: BOOL - name: KursTyp type: KursTyp - name: MaxTeilnehmer type: INT - name: Raum type: STRING - name: Trainer type: Trainer The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) The data source for the [KursTyp] select control should be loaded from the relative URL: "/MitgliedschaftsVertragService/kurstyp" (HTTP-GET) The data source for the [Trainer] select control should be loaded from the relative URL: "/TrainerService/trainer" (HTTP-GET) An existing Kurs entity should be loaded from the relative URL: "/FitnessStudioService/kurs/{id}" (HTTP-GET) If a new Kurs entity has been created, the new entity should be posted to the relative URL: "/FitnessStudioService/kurs" (HTTP-POST) If an existing Kurs entity has been updated, the modified entity should be sent to the relative URL: "/FitnessStudioService/kurs/{id}" (HTTP-PUT) If an existing Kurs entity has to be deleted, the following relative URL should be called: "/FitnessStudioService/kurs/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KursEinheit columns: - column: Status - column: Kurs - column: StartZeit - column: EndZeit - column: StornoGrund The table should have the title "KursEinheits" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/kurseinheit/kurs/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum