Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TherapieartApp
Please create a React-JS application for the TherapieartModule. The application has to offer the following views for the user interface: 1. KureinrichtungTypView 2. TherapieartView 3. TherapiesitzungView 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 KureinrichtungTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing KureinrichtungTyp entity should be loaded from the relative URL: "/TherapieartService/kureinrichtungtyp/{id}" (HTTP-GET) If a new KureinrichtungTyp entity has been created, the new entity should be posted to the relative URL: "/TherapieartService/kureinrichtungtyp" (HTTP-POST) If an existing KureinrichtungTyp entity has been updated, the modified entity should be sent to the relative URL: "/TherapieartService/kureinrichtungtyp/{id}" (HTTP-PUT) If an existing KureinrichtungTyp entity has to be deleted, the following relative URL should be called: "/TherapieartService/kureinrichtungtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kureinrichtung columns: - column: Postleitzahl - column: Bettenkapazitaet - column: Zertifiziert - column: Stadt - column: Name - column: Kurort - column: Adresszeile - column: KureinrichtungTyp The table should have the title "Kureinrichtungs" und the data must be loaded from the server with the following relative URL: "/KureinrichtungService/kureinrichtung/kureinrichtungtyp/{id}" 2. The TherapieartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING - name: Paedagogisch type: BOOL - name: Physisch type: BOOL - name: Psychologisch type: BOOL An existing Therapieart entity should be loaded from the relative URL: "/TherapieartService/therapieart/{id}" (HTTP-GET) If a new Therapieart entity has been created, the new entity should be posted to the relative URL: "/TherapieartService/therapieart" (HTTP-POST) If an existing Therapieart entity has been updated, the modified entity should be sent to the relative URL: "/TherapieartService/therapieart/{id}" (HTTP-PUT) If an existing Therapieart entity has to be deleted, the following relative URL should be called: "/TherapieartService/therapieart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Therapiesitzung columns: - column: Kur - column: Therapieart - column: Notizen - column: DauerMinuten - column: Zeitpunkt - column: Intensitaet The table should have the title "Therapiesitzungs" und the data must be loaded from the server with the following relative URL: "/TherapieartService/therapiesitzung/therapieart/{id}" 3. The TherapiesitzungView must contain the following fields: - name: DauerMinuten type: INT - name: Intensitaet type: STRING - name: Kur type: Kur - name: Notizen type: STRING - name: Therapieart type: Therapieart - name: Zeitpunkt type: DATE The data source for the [Kur] select control should be loaded from the relative URL: "/KurService/kur" (HTTP-GET) The data source for the [Therapieart] select control should be loaded from the relative URL: "/TherapieartService/therapieart" (HTTP-GET) An existing Therapiesitzung entity should be loaded from the relative URL: "/TherapieartService/therapiesitzung/{id}" (HTTP-GET) If a new Therapiesitzung entity has been created, the new entity should be posted to the relative URL: "/TherapieartService/therapiesitzung" (HTTP-POST) If an existing Therapiesitzung entity has been updated, the modified entity should be sent to the relative URL: "/TherapieartService/therapiesitzung/{id}" (HTTP-PUT) If an existing Therapiesitzung entity has to be deleted, the following relative URL should be called: "/TherapieartService/therapiesitzung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum