Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HydrantView
Please create a React-JS view called "HydrantView" for the fields of the Hydrant entity. The HydrantView must contain the following fields: - name: Baujahr type: LONG - name: Hinweise type: STRING - name: HydrantTyp type: STRING - name: InstallationsOrt type: InstallationsOrt - name: IstBetriebsbereit type: BOOL - name: Material type: Material - name: NennweiteDn type: LONG - name: Rohrabschnitt type: Rohrabschnitt The data source for the [InstallationsOrt] select control should be loaded from the relative URL: "/InstallationsOrtService/installationsort" (HTTP-GET) The data source for the [Material] select control should be loaded from the relative URL: "/MaterialService/material" (HTTP-GET) The data source for the [Rohrabschnitt] select control should be loaded from the relative URL: "/RohrabschnittService/rohrabschnitt" (HTTP-GET) An existing Hydrant entity should be loaded from the relative URL: "/MaterialService/hydrant/{id}" (HTTP-GET) If a new Hydrant entity has been created, the new entity should be posted to the relative URL: "/MaterialService/hydrant" (HTTP-POST) If an existing Hydrant entity has been updated, the modified entity should be sent to the relative URL: "/MaterialService/hydrant/{id}" (HTTP-PUT) If an existing Hydrant entity has to be deleted, the following relative URL should be called: "/MaterialService/hydrant/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wartung columns: - column: Ventil - column: DurchgefuehrtVon - column: Beschreibung - column: WartungsDatum - column: Rohrabschnitt - column: Hydrant - column: WartungsArt The table should have the title "Wartungs" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/wartung/hydrant/{id}" Add a HTML table to the view with the following Inspektion columns: - column: Ergebnis - column: Inspektor - column: Ventil - column: Rohrabschnitt - column: InspektionsDatum - column: Feststellungen - column: Hydrant The table should have the title "Inspektions" und the data must be loaded from the server with the following relative URL: "/RohrabschnittService/inspektion/hydrant/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum