Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KontraindikationApp
Please create a React-JS application for the KontraindikationModule. The application has to offer the following views for the user interface: 1. KontraindikationView 2. KurKontraindikationView 3. LandView 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 KontraindikationView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Kontraindikation entity should be loaded from the relative URL: "/KontraindikationService/kontraindikation/{id}" (HTTP-GET) If a new Kontraindikation entity has been created, the new entity should be posted to the relative URL: "/KontraindikationService/kontraindikation" (HTTP-POST) If an existing Kontraindikation entity has been updated, the modified entity should be sent to the relative URL: "/KontraindikationService/kontraindikation/{id}" (HTTP-PUT) If an existing Kontraindikation entity has to be deleted, the following relative URL should be called: "/KontraindikationService/kontraindikation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KurKontraindikation columns: - column: Notizen - column: Kontraindikation - column: Kur The table should have the title "KurKontraindikations" und the data must be loaded from the server with the following relative URL: "/KontraindikationService/kurkontraindikation/kontraindikation/{id}" 2. The KurKontraindikationView must contain the following fields: - name: Kontraindikation type: Kontraindikation - name: Kur type: Kur - name: Notizen type: STRING The data source for the [Kontraindikation] select control should be loaded from the relative URL: "/KontraindikationService/kontraindikation" (HTTP-GET) The data source for the [Kur] select control should be loaded from the relative URL: "/KurService/kur" (HTTP-GET) An existing KurKontraindikation entity should be loaded from the relative URL: "/KontraindikationService/kurkontraindikation/{id}" (HTTP-GET) If a new KurKontraindikation entity has been created, the new entity should be posted to the relative URL: "/KontraindikationService/kurkontraindikation" (HTTP-POST) If an existing KurKontraindikation entity has been updated, the modified entity should be sent to the relative URL: "/KontraindikationService/kurkontraindikation/{id}" (HTTP-PUT) If an existing KurKontraindikation entity has to be deleted, the following relative URL should be called: "/KontraindikationService/kurkontraindikation/{id}" (HTTP-DELETE) 3. The LandView must contain the following fields: - name: Code type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/KontraindikationService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/KontraindikationService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/KontraindikationService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/KontraindikationService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Region columns: - column: Name - column: Land The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/KureinrichtungService/region/land/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum