Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegionApp
Please create a React-JS application for the RegionModule. The application has to offer the following views for the user interface: 1. BehoerdeView 2. RegionView 3. SelbstdispensationRegelungView 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 BehoerdeView must contain the following fields: - name: BehoerdeTyp type: STRING - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing Behoerde entity should be loaded from the relative URL: "/RegionService/behoerde/{id}" (HTTP-GET) If a new Behoerde entity has been created, the new entity should be posted to the relative URL: "/RegionService/behoerde" (HTTP-POST) If an existing Behoerde entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/behoerde/{id}" (HTTP-PUT) If an existing Behoerde entity has to be deleted, the following relative URL should be called: "/RegionService/behoerde/{id}" (HTTP-DELETE) 2. The RegionView must contain the following fields: - name: Land type: Land - name: Name type: STRING - name: RegionTyp type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Region entity should be loaded from the relative URL: "/RegionService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/RegionService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/RegionService/region/{id}" (HTTP-DELETE) 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/region/{id}" Add a HTML table to the view with the following SelbstdispensationRegelung columns: - column: Land - column: Gesetz - column: Beschreibung - column: Region The table should have the title "SelbstdispensationRegelungs" und the data must be loaded from the server with the following relative URL: "/RegionService/selbstdispensationregelung/region/{id}" Add a HTML table to the view with the following Behoerde columns: - column: Region - column: BehoerdeTyp - column: Name The table should have the title "Behoerdes" und the data must be loaded from the server with the following relative URL: "/RegionService/behoerde/region/{id}" 3. The SelbstdispensationRegelungView must contain the following fields: - name: Beschreibung type: STRING - name: Gesetz type: Gesetz - name: Land type: Land - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Gesetz] select control should be loaded from the relative URL: "/LandService/gesetz" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing SelbstdispensationRegelung entity should be loaded from the relative URL: "/RegionService/selbstdispensationregelung/{id}" (HTTP-GET) If a new SelbstdispensationRegelung entity has been created, the new entity should be posted to the relative URL: "/RegionService/selbstdispensationregelung" (HTTP-POST) If an existing SelbstdispensationRegelung entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/selbstdispensationregelung/{id}" (HTTP-PUT) If an existing SelbstdispensationRegelung entity has to be deleted, the following relative URL should be called: "/RegionService/selbstdispensationregelung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum