Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KundeApp
Please create a React-JS application for the KundeModule. The application has to offer the following views for the user interface: 1. InventarGeraetView 2. KundeView 3. RezeptView 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 InventarGeraetView must contain the following fields: - name: Apotheke type: Apotheke - name: Bezeichnung type: STRING - name: PflichtgeraetFlag type: BOOL The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing InventarGeraet entity should be loaded from the relative URL: "/KundeService/inventargeraet/{id}" (HTTP-GET) If a new InventarGeraet entity has been created, the new entity should be posted to the relative URL: "/KundeService/inventargeraet" (HTTP-POST) If an existing InventarGeraet entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/inventargeraet/{id}" (HTTP-PUT) If an existing InventarGeraet entity has to be deleted, the following relative URL should be called: "/KundeService/inventargeraet/{id}" (HTTP-DELETE) 2. The KundeView must contain the following fields: - name: KundeTyp type: STRING - name: Name type: STRING An existing Kunde entity should be loaded from the relative URL: "/KundeService/kunde/{id}" (HTTP-GET) If a new Kunde entity has been created, the new entity should be posted to the relative URL: "/KundeService/kunde" (HTTP-POST) If an existing Kunde entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/kunde/{id}" (HTTP-PUT) If an existing Kunde entity has to be deleted, the following relative URL should be called: "/KundeService/kunde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Rezept columns: - column: Kunde - column: Arzt - column: Datum - column: RezeptTyp - column: Apotheke The table should have the title "Rezepts" und the data must be loaded from the server with the following relative URL: "/KundeService/rezept/kunde/{id}" Add a HTML table to the view with the following Beratungsvorgang columns: - column: Kunde - column: Beratungsart - column: Apotheke - column: DurchPersonal - column: ThemaText - column: Kanal - column: KundeTyp - column: Datum The table should have the title "Beratungsvorgangs" und the data must be loaded from the server with the following relative URL: "/ApothekenpersonalService/beratungsvorgang/kunde/{id}" 3. The RezeptView must contain the following fields: - name: Apotheke type: Apotheke - name: Arzt type: Arzt - name: Datum type: DATE - name: Kunde type: Kunde - name: RezeptTyp type: STRING The data source for the [Kunde] select control should be loaded from the relative URL: "/KundeService/kunde" (HTTP-GET) The data source for the [Arzt] select control should be loaded from the relative URL: "/ArztService/arzt" (HTTP-GET) The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing Rezept entity should be loaded from the relative URL: "/KundeService/rezept/{id}" (HTTP-GET) If a new Rezept entity has been created, the new entity should be posted to the relative URL: "/KundeService/rezept" (HTTP-POST) If an existing Rezept entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/rezept/{id}" (HTTP-PUT) If an existing Rezept entity has to be deleted, the following relative URL should be called: "/KundeService/rezept/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum