Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. MaterialEinschraenkungView 3. RegionView 4. RohrschadenView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MaterialEinschraenkung columns: - column: Material - column: GueltigBis - column: Land - column: Hinweise - column: GueltigVon - column: Einschraenkungsart - column: Rechtsgrundlage The table should have the title "MaterialEinschraenkungs" und the data must be loaded from the server with the following relative URL: "/LandService/materialeinschraenkung/land/{id}" Add a HTML table to the view with the following Region columns: - column: Land - column: Name The table should have the title "Regions" und the data must be loaded from the server with the following relative URL: "/LandService/region/land/{id}" 2. The MaterialEinschraenkungView must contain the following fields: - name: Einschraenkungsart type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Hinweise type: STRING - name: Land type: Land - name: Material type: Material - name: Rechtsgrundlage type: STRING The data source for the [Material] select control should be loaded from the relative URL: "/MaterialService/material" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing MaterialEinschraenkung entity should be loaded from the relative URL: "/LandService/materialeinschraenkung/{id}" (HTTP-GET) If a new MaterialEinschraenkung entity has been created, the new entity should be posted to the relative URL: "/LandService/materialeinschraenkung" (HTTP-POST) If an existing MaterialEinschraenkung entity has been updated, the modified entity should be sent to the relative URL: "/LandService/materialeinschraenkung/{id}" (HTTP-PUT) If an existing MaterialEinschraenkung entity has to be deleted, the following relative URL should be called: "/LandService/materialeinschraenkung/{id}" (HTTP-DELETE) 3. The RegionView must contain the following fields: - name: Land type: Land - name: Name 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: "/LandService/region/{id}" (HTTP-GET) If a new Region entity has been created, the new entity should be posted to the relative URL: "/LandService/region" (HTTP-POST) If an existing Region entity has been updated, the modified entity should be sent to the relative URL: "/LandService/region/{id}" (HTTP-PUT) If an existing Region entity has to be deleted, the following relative URL should be called: "/LandService/region/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Gemeinde columns: - column: Name - column: Region - column: Postleitzahl The table should have the title "Gemeindes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gemeinde/region/{id}" 4. The RohrschadenView must contain the following fields: - name: Beschreibung type: STRING - name: EntdecktDurch type: STRING - name: Rohrabschnitt type: Rohrabschnitt - name: SchadenArt type: STRING - name: SchadenDatum type: DATE The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Rohrschaden entity should be loaded from the relative URL: "/LandService/rohrschaden/{id}" (HTTP-GET) If a new Rohrschaden entity has been created, the new entity should be posted to the relative URL: "/LandService/rohrschaden" (HTTP-POST) If an existing Rohrschaden entity has been updated, the modified entity should be sent to the relative URL: "/LandService/rohrschaden/{id}" (HTTP-PUT) If an existing Rohrschaden entity has to be deleted, the following relative URL should be called: "/LandService/rohrschaden/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum