Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchutzorganView
Please create a React-JS view called "SchutzorganView" for the fields of the Schutzorgan entity. The SchutzorganView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Charakteristik type: STRING - name: NennausloesestromMa type: DOUBLE - name: NennstromA type: DOUBLE - name: OrganTyp type: STRING - name: Pole type: LONG - name: PositionIndex type: LONG - name: SchaltvermoegenKa type: DOUBLE - name: Verteiler type: Verteiler The data source for the [Verteiler] select control should be loaded from the relative URL: "/StromkreisService/verteiler" (HTTP-GET) An existing Schutzorgan entity should be loaded from the relative URL: "/StromkreisService/schutzorgan/{id}" (HTTP-GET) If a new Schutzorgan entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/schutzorgan" (HTTP-POST) If an existing Schutzorgan entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/schutzorgan/{id}" (HTTP-PUT) If an existing Schutzorgan entity has to be deleted, the following relative URL should be called: "/StromkreisService/schutzorgan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stromkreis columns: - column: Nummer - column: Stromkreisart - column: Nennspannung - column: Nutzungseinheit - column: Phasen - column: Verteiler - column: NennstromA - column: Name - column: Schutzorgan - column: Beschreibung The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/StromkreisService/stromkreis/schutzorgan/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum