Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KurtypApp
Please create a React-JS application for the KurtypModule. The application has to offer the following views for the user interface: 1. HistorischerAspektView 2. KurortHistorischerAspektView 3. KurtypView 4. KurtypHistorischerAspektView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The HistorischerAspektView must contain the following fields: - name: Beschreibung type: STRING - name: Endjahr type: INT - name: Startjahr type: INT - name: Titel type: STRING An existing HistorischerAspekt entity should be loaded from the relative URL: "/KurtypService/historischeraspekt/{id}" (HTTP-GET) If a new HistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/KurtypService/historischeraspekt" (HTTP-POST) If an existing HistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/historischeraspekt/{id}" (HTTP-PUT) If an existing HistorischerAspekt entity has to be deleted, the following relative URL should be called: "/KurtypService/historischeraspekt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurortHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurort The table should have the title "KurortHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/KurtypService/kurorthistorischeraspekt/historischeraspekt/{id}" Add a HTML table to the view with the following KurtypHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurtyp The table should have the title "KurtypHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/KurtypService/kurtyphistorischeraspekt/historischeraspekt/{id}" 2. The KurortHistorischerAspektView must contain the following fields: - name: HistorischerAspekt type: HistorischerAspekt - name: Kurort type: Kurort - name: Notizen type: STRING The data source for the [HistorischerAspekt] select control should be loaded from the relative URL: "/KurtypService/historischeraspekt" (HTTP-GET) The data source for the [Kurort] select control should be loaded from the relative URL: "/KureinrichtungService/kurort" (HTTP-GET) An existing KurortHistorischerAspekt entity should be loaded from the relative URL: "/KurtypService/kurorthistorischeraspekt/{id}" (HTTP-GET) If a new KurortHistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/KurtypService/kurorthistorischeraspekt" (HTTP-POST) If an existing KurortHistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/kurorthistorischeraspekt/{id}" (HTTP-PUT) If an existing KurortHistorischerAspekt entity has to be deleted, the following relative URL should be called: "/KurtypService/kurorthistorischeraspekt/{id}" (HTTP-DELETE) 3. The KurtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING - name: Praeventiv type: BOOL - name: Rehabilitativ type: BOOL An existing Kurtyp entity should be loaded from the relative URL: "/KurtypService/kurtyp/{id}" (HTTP-GET) If a new Kurtyp entity has been created, the new entity should be posted to the relative URL: "/KurtypService/kurtyp" (HTTP-POST) If an existing Kurtyp entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/kurtyp/{id}" (HTTP-PUT) If an existing Kurtyp entity has to be deleted, the following relative URL should be called: "/KurtypService/kurtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kurantrag columns: - column: Notizen - column: GewuenschterKurtyp - column: Rechtsgrundlage - column: Antragsdatum - column: Arzt - column: KostentraegerTyp - column: Patient - column: Krankenkasse The table should have the title "Kurantrags" und the data must be loaded from the server with the following relative URL: "/KostentraegerTypService/kurantrag/gewuenschterkurtyp/{id}" Add a HTML table to the view with the following Kur columns: - column: Startdatum - column: DauerTage - column: Genehmigt - column: Arzt - column: Rechtsgrundlage - column: Name - column: RehaMassnahme - column: Ziel - column: Krankenkasse - column: KostentraegerTyp - column: Kurtyp - column: Patient - column: Anwendungsart - column: Kureinrichtung - column: Beschreibung - column: Enddatum The table should have the title "Kurs" und the data must be loaded from the server with the following relative URL: "/KurService/kur/kurtyp/{id}" Add a HTML table to the view with the following KurtypHistorischerAspekt columns: - column: HistorischerAspekt - column: Notizen - column: Kurtyp The table should have the title "KurtypHistorischerAspekts" und the data must be loaded from the server with the following relative URL: "/KurtypService/kurtyphistorischeraspekt/kurtyp/{id}" 4. The KurtypHistorischerAspektView must contain the following fields: - name: HistorischerAspekt type: HistorischerAspekt - name: Kurtyp type: Kurtyp - name: Notizen type: STRING The data source for the [Kurtyp] select control should be loaded from the relative URL: "/KurtypService/kurtyp" (HTTP-GET) The data source for the [HistorischerAspekt] select control should be loaded from the relative URL: "/KurtypService/historischeraspekt" (HTTP-GET) An existing KurtypHistorischerAspekt entity should be loaded from the relative URL: "/KurtypService/kurtyphistorischeraspekt/{id}" (HTTP-GET) If a new KurtypHistorischerAspekt entity has been created, the new entity should be posted to the relative URL: "/KurtypService/kurtyphistorischeraspekt" (HTTP-POST) If an existing KurtypHistorischerAspekt entity has been updated, the modified entity should be sent to the relative URL: "/KurtypService/kurtyphistorischeraspekt/{id}" (HTTP-PUT) If an existing KurtypHistorischerAspekt entity has to be deleted, the following relative URL should be called: "/KurtypService/kurtyphistorischeraspekt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum