Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KurortView
Please create a React-JS view called "KurortView" for the fields of the Kurort entity. The KurortView must contain the following fields: - name: Anerkannt type: BOOL - name: Bevoelkerung type: INT - name: Hoehenmeter type: INT - name: KurortKategorie type: KurortKategorie - name: Name type: STRING - name: Region type: Region The data source for the [KurortKategorie] select control should be loaded from the relative URL: "/KontraindikationService/kurortkategorie" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/KureinrichtungService/region" (HTTP-GET) An existing Kurort entity should be loaded from the relative URL: "/KureinrichtungService/kurort/{id}" (HTTP-GET) If a new Kurort entity has been created, the new entity should be posted to the relative URL: "/KureinrichtungService/kurort" (HTTP-POST) If an existing Kurort entity has been updated, the modified entity should be sent to the relative URL: "/KureinrichtungService/kurort/{id}" (HTTP-PUT) If an existing Kurort entity has to be deleted, the following relative URL should be called: "/KureinrichtungService/kurort/{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/kurort/{id}" 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: "/HistorischerAspektService/kurorthistorischeraspekt/kurort/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum