Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HydrantTypeApp
Please create a React-JS application for the HydrantTypeModule. The application has to offer the following views for the user interface: 1. AppView 2. AppHydrantenDatenquelleView 3. HydrantTypeView 4. OrganisationTypeView 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 AppView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Plattform type: STRING - name: Url type: STRING An existing App entity should be loaded from the relative URL: "/HydrantTypeService/app/{id}" (HTTP-GET) If a new App entity has been created, the new entity should be posted to the relative URL: "/HydrantTypeService/app" (HTTP-POST) If an existing App entity has been updated, the modified entity should be sent to the relative URL: "/HydrantTypeService/app/{id}" (HTTP-PUT) If an existing App entity has to be deleted, the following relative URL should be called: "/HydrantTypeService/app/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AppHydrantenDatenquelle columns: - column: HatEchtzeitStatus - column: App - column: Beschreibung - column: WasserNetz The table should have the title "AppHydrantenDatenquelles" und the data must be loaded from the server with the following relative URL: "/HydrantTypeService/apphydrantendatenquelle/app/{id}" 2. The AppHydrantenDatenquelleView must contain the following fields: - name: App type: App - name: Beschreibung type: STRING - name: HatEchtzeitStatus type: BOOL - name: WasserNetz type: WasserNetz The data source for the [App] select control should be loaded from the relative URL: "/HydrantTypeService/app" (HTTP-GET) The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) An existing AppHydrantenDatenquelle entity should be loaded from the relative URL: "/HydrantTypeService/apphydrantendatenquelle/{id}" (HTTP-GET) If a new AppHydrantenDatenquelle entity has been created, the new entity should be posted to the relative URL: "/HydrantTypeService/apphydrantendatenquelle" (HTTP-POST) If an existing AppHydrantenDatenquelle entity has been updated, the modified entity should be sent to the relative URL: "/HydrantTypeService/apphydrantendatenquelle/{id}" (HTTP-PUT) If an existing AppHydrantenDatenquelle entity has to be deleted, the following relative URL should be called: "/HydrantTypeService/apphydrantendatenquelle/{id}" (HTTP-DELETE) 3. The HydrantTypeView must contain the following fields: - name: Beschreibung type: STRING - name: IstOberflur type: BOOL - name: IstTrocken type: BOOL - name: IstUnterflur type: BOOL - name: Name type: STRING - name: StandardDurchflussMaxLpm type: LONG - name: StandardDurchflussMinLpm type: LONG An existing HydrantType entity should be loaded from the relative URL: "/HydrantTypeService/hydranttype/{id}" (HTTP-GET) If a new HydrantType entity has been created, the new entity should be posted to the relative URL: "/HydrantTypeService/hydranttype" (HTTP-POST) If an existing HydrantType entity has been updated, the modified entity should be sent to the relative URL: "/HydrantTypeService/hydranttype/{id}" (HTTP-PUT) If an existing HydrantType entity has to be deleted, the following relative URL should be called: "/HydrantTypeService/hydranttype/{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/hydranttype/{id}" Add a HTML table to the view with the following Hydrant columns: - column: HydrantType - column: IstNass - column: WasserNetz - column: IstTrocken - column: Notizen - column: HydrantStandort - column: NennweiteMm - column: InstallationsDatum - column: LetztePruefung - column: IstBetriebsbereit The table should have the title "Hydrants" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/hydrant/hydranttype/{id}" 4. The OrganisationTypeView must contain the following fields: - name: Name type: STRING An existing OrganisationType entity should be loaded from the relative URL: "/HydrantTypeService/organisationtype/{id}" (HTTP-GET) If a new OrganisationType entity has been created, the new entity should be posted to the relative URL: "/HydrantTypeService/organisationtype" (HTTP-POST) If an existing OrganisationType entity has been updated, the modified entity should be sent to the relative URL: "/HydrantTypeService/organisationtype/{id}" (HTTP-PUT) If an existing OrganisationType entity has to be deleted, the following relative URL should be called: "/HydrantTypeService/organisationtype/{id}" (HTTP-DELETE) 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/organisationtype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum