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. BrandEreignisHydrantView 2. HydrantNormView 3. LandView 4. NormView 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 BrandEreignisHydrantView must contain the following fields: - name: BrandEreignis type: BrandEreignis - name: Hydrant type: Hydrant - name: Rolle type: STRING The data source for the [BrandEreignis] select control should be loaded from the relative URL: "/WasserNetzService/brandereignis" (HTTP-GET) The data source for the [Hydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) An existing BrandEreignisHydrant entity should be loaded from the relative URL: "/LandService/brandereignishydrant/{id}" (HTTP-GET) If a new BrandEreignisHydrant entity has been created, the new entity should be posted to the relative URL: "/LandService/brandereignishydrant" (HTTP-POST) If an existing BrandEreignisHydrant entity has been updated, the modified entity should be sent to the relative URL: "/LandService/brandereignishydrant/{id}" (HTTP-PUT) If an existing BrandEreignisHydrant entity has to be deleted, the following relative URL should be called: "/LandService/brandereignishydrant/{id}" (HTTP-DELETE) 2. The HydrantNormView must contain the following fields: - name: HydrantType type: HydrantType - name: Norm type: Norm The data source for the [HydrantType] select control should be loaded from the relative URL: "/HydrantTypeService/hydranttype" (HTTP-GET) The data source for the [Norm] select control should be loaded from the relative URL: "/LandService/norm" (HTTP-GET) An existing HydrantNorm entity should be loaded from the relative URL: "/LandService/hydrantnorm/{id}" (HTTP-GET) If a new HydrantNorm entity has been created, the new entity should be posted to the relative URL: "/LandService/hydrantnorm" (HTTP-POST) If an existing HydrantNorm entity has been updated, the modified entity should be sent to the relative URL: "/LandService/hydrantnorm/{id}" (HTTP-PUT) If an existing HydrantNorm entity has to be deleted, the following relative URL should be called: "/LandService/hydrantnorm/{id}" (HTTP-DELETE) 3. 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 Norm columns: - column: Titel - column: Code - column: Jahr - column: Land - column: Beschreibung The table should have the title "Norms" und the data must be loaded from the server with the following relative URL: "/LandService/norm/land/{id}" Add a HTML table to the view with the following Organisation columns: - column: Land - column: OrganisationType - column: Stadt - column: Telefon - column: Beschreibung - column: Adresse - column: Email - column: Name The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/StadtService/organisation/land/{id}" Add a HTML table to the view with the following Stadt columns: - column: Postleitzahl - column: Land - column: Name The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/StadtService/stadt/land/{id}" 4. The NormView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Jahr type: LONG - name: Land type: Land - name: Titel type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Norm entity should be loaded from the relative URL: "/LandService/norm/{id}" (HTTP-GET) If a new Norm entity has been created, the new entity should be posted to the relative URL: "/LandService/norm" (HTTP-POST) If an existing Norm entity has been updated, the modified entity should be sent to the relative URL: "/LandService/norm/{id}" (HTTP-PUT) If an existing Norm entity has to be deleted, the following relative URL should be called: "/LandService/norm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HydrantNorm columns: - column: Norm - column: HydrantType The table should have the title "HydrantNorms" und the data must be loaded from the server with the following relative URL: "/LandService/hydrantnorm/norm/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum