Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ApothekenpflichtKategorieApp
Please create a React-JS application for the ApothekenpflichtKategorieModule. The application has to offer the following views for the user interface: 1. ApothekenpflichtKategorieView 2. ArzneimittelView 3. FilialapothekeRelationView 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 ApothekenpflichtKategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing ApothekenpflichtKategorie entity should be loaded from the relative URL: "/ApothekenpflichtKategorieService/apothekenpflichtkategorie/{id}" (HTTP-GET) If a new ApothekenpflichtKategorie entity has been created, the new entity should be posted to the relative URL: "/ApothekenpflichtKategorieService/apothekenpflichtkategorie" (HTTP-POST) If an existing ApothekenpflichtKategorie entity has been updated, the modified entity should be sent to the relative URL: "/ApothekenpflichtKategorieService/apothekenpflichtkategorie/{id}" (HTTP-PUT) If an existing ApothekenpflichtKategorie entity has to be deleted, the following relative URL should be called: "/ApothekenpflichtKategorieService/apothekenpflichtkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Arzneimittel columns: - column: Name - column: ApothekenpflichtKategorie - column: Beschreibung - column: ApothekenpflichtFlag - column: VerschreibungspflichtFlag The table should have the title "Arzneimittels" und the data must be loaded from the server with the following relative URL: "/ApothekenpflichtKategorieService/arzneimittel/apothekenpflichtkategorie/{id}" 2. The ArzneimittelView must contain the following fields: - name: ApothekenpflichtFlag type: BOOL - name: ApothekenpflichtKategorie type: ApothekenpflichtKategorie - name: Beschreibung type: STRING - name: Name type: STRING - name: VerschreibungspflichtFlag type: BOOL The data source for the [ApothekenpflichtKategorie] select control should be loaded from the relative URL: "/ApothekenpflichtKategorieService/apothekenpflichtkategorie" (HTTP-GET) An existing Arzneimittel entity should be loaded from the relative URL: "/ApothekenpflichtKategorieService/arzneimittel/{id}" (HTTP-GET) If a new Arzneimittel entity has been created, the new entity should be posted to the relative URL: "/ApothekenpflichtKategorieService/arzneimittel" (HTTP-POST) If an existing Arzneimittel entity has been updated, the modified entity should be sent to the relative URL: "/ApothekenpflichtKategorieService/arzneimittel/{id}" (HTTP-PUT) If an existing Arzneimittel entity has to be deleted, the following relative URL should be called: "/ApothekenpflichtKategorieService/arzneimittel/{id}" (HTTP-DELETE) 3. The FilialapothekeRelationView must contain the following fields: - name: BisDatum type: DATE - name: Filialapotheke type: Apotheke - name: Hauptapotheke type: Apotheke - name: VonDatum type: DATE The data source for the [Hauptapotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) The data source for the [Filialapotheke] select control should be loaded from the relative URL: "/ApothekeService/apotheke" (HTTP-GET) An existing FilialapothekeRelation entity should be loaded from the relative URL: "/ApothekenpflichtKategorieService/filialapothekerelation/{id}" (HTTP-GET) If a new FilialapothekeRelation entity has been created, the new entity should be posted to the relative URL: "/ApothekenpflichtKategorieService/filialapothekerelation" (HTTP-POST) If an existing FilialapothekeRelation entity has been updated, the modified entity should be sent to the relative URL: "/ApothekenpflichtKategorieService/filialapothekerelation/{id}" (HTTP-PUT) If an existing FilialapothekeRelation entity has to be deleted, the following relative URL should be called: "/ApothekenpflichtKategorieService/filialapothekerelation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum