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. ApothekenpersonalView 2. BeratungsvorgangView 3. KundeView 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 ApothekenpersonalView must contain the following fields: - name: Apotheke type: Apotheke - name: Nachname type: STRING - name: PersonalTyp type: STRING - name: Qualifikation type: STRING - name: Vorname type: STRING The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing Apothekenpersonal entity should be loaded from the relative URL: "/KundeService/apothekenpersonal/{id}" (HTTP-GET) If a new Apothekenpersonal entity has been created, the new entity should be posted to the relative URL: "/KundeService/apothekenpersonal" (HTTP-POST) If an existing Apothekenpersonal entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/apothekenpersonal/{id}" (HTTP-PUT) If an existing Apothekenpersonal entity has to be deleted, the following relative URL should be called: "/KundeService/apothekenpersonal/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beratungsvorgang columns: - column: Kunde - column: Apotheke - column: DurchPersonal - column: KundeTyp - column: Beratungsart - column: Kanal - column: Datum - column: ThemaText The table should have the title "Beratungsvorgangs" und the data must be loaded from the server with the following relative URL: "/KundeService/beratungsvorgang/durchpersonal/{id}" 2. The BeratungsvorgangView must contain the following fields: - name: Apotheke type: Apotheke - name: Beratungsart type: STRING - name: Datum type: DATE - name: DurchPersonal type: Apothekenpersonal - name: Kanal type: STRING - name: Kunde type: Kunde - name: KundeTyp type: STRING - name: ThemaText 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 [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) The data source for the [DurchPersonal] select control should be loaded from the relative URL: "/KundeService/apothekenpersonal" (HTTP-GET) An existing Beratungsvorgang entity should be loaded from the relative URL: "/KundeService/beratungsvorgang/{id}" (HTTP-GET) If a new Beratungsvorgang entity has been created, the new entity should be posted to the relative URL: "/KundeService/beratungsvorgang" (HTTP-POST) If an existing Beratungsvorgang entity has been updated, the modified entity should be sent to the relative URL: "/KundeService/beratungsvorgang/{id}" (HTTP-PUT) If an existing Beratungsvorgang entity has to be deleted, the following relative URL should be called: "/KundeService/beratungsvorgang/{id}" (HTTP-DELETE) 3. 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: Datum - column: Kunde - column: Apotheke - column: Arzt - column: RezeptTyp The table should have the title "Rezepts" und the data must be loaded from the server with the following relative URL: "/ArztService/rezept/kunde/{id}" Add a HTML table to the view with the following Beratungsvorgang columns: - column: Kunde - column: Apotheke - column: DurchPersonal - column: KundeTyp - column: Beratungsart - column: Kanal - column: Datum - column: ThemaText The table should have the title "Beratungsvorgangs" und the data must be loaded from the server with the following relative URL: "/KundeService/beratungsvorgang/kunde/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum