Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ApothekerApp
Please create a React-JS application for the ApothekerModule. The application has to offer the following views for the user interface: 1. ApothekenleiterView 2. ApothekerView 3. InventarLiteraturView 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 ApothekenleiterView must contain the following fields: - name: Apotheke type: Apotheke - name: Apotheker type: Apotheker - name: BisDatum type: DATE - name: VonDatum type: DATE The data source for the [Apotheker] select control should be loaded from the relative URL: "/ApothekerService/apotheker" (HTTP-GET) The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing Apothekenleiter entity should be loaded from the relative URL: "/ApothekerService/apothekenleiter/{id}" (HTTP-GET) If a new Apothekenleiter entity has been created, the new entity should be posted to the relative URL: "/ApothekerService/apothekenleiter" (HTTP-POST) If an existing Apothekenleiter entity has been updated, the modified entity should be sent to the relative URL: "/ApothekerService/apothekenleiter/{id}" (HTTP-PUT) If an existing Apothekenleiter entity has to be deleted, the following relative URL should be called: "/ApothekerService/apothekenleiter/{id}" (HTTP-DELETE) 2. The ApothekerView must contain the following fields: - name: Approbationsdatum type: DATE - name: Berufsstatus type: STRING - name: Geburtsdatum type: DATE - name: Nachname type: STRING - name: Vorname type: STRING An existing Apotheker entity should be loaded from the relative URL: "/ApothekerService/apotheker/{id}" (HTTP-GET) If a new Apotheker entity has been created, the new entity should be posted to the relative URL: "/ApothekerService/apotheker" (HTTP-POST) If an existing Apotheker entity has been updated, the modified entity should be sent to the relative URL: "/ApothekerService/apotheker/{id}" (HTTP-PUT) If an existing Apotheker entity has to be deleted, the following relative URL should be called: "/ApothekerService/apotheker/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Apothekenleiter columns: - column: VonDatum - column: BisDatum - column: Apotheke - column: Apotheker The table should have the title "Apothekenleiters" und the data must be loaded from the server with the following relative URL: "/ApothekerService/apothekenleiter/apotheker/{id}" Add a HTML table to the view with the following Apotheke columns: - column: Region - column: ApothekenTyp - column: InternationaleBezeichnungFlag - column: InhaberApotheker - column: Strasse - column: VersandErlaubnisFlag - column: Hauptapotheke - column: Ort - column: Name - column: Plz - column: Gruendungsdatum The table should have the title "Apothekes" und the data must be loaded from the server with the following relative URL: "/ApothekeService/apotheke/inhaberapotheker/{id}" 3. The InventarLiteraturView must contain the following fields: - name: Apotheke type: Apotheke - name: LiteraturTyp type: STRING - name: PflichtliteraturFlag type: BOOL - name: Titel type: STRING The data source for the [Apotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing InventarLiteratur entity should be loaded from the relative URL: "/ApothekerService/inventarliteratur/{id}" (HTTP-GET) If a new InventarLiteratur entity has been created, the new entity should be posted to the relative URL: "/ApothekerService/inventarliteratur" (HTTP-POST) If an existing InventarLiteratur entity has been updated, the modified entity should be sent to the relative URL: "/ApothekerService/inventarliteratur/{id}" (HTTP-PUT) If an existing InventarLiteratur entity has to be deleted, the following relative URL should be called: "/ApothekerService/inventarliteratur/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum