Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchaltanlageView
Please create a React-JS view called "SchaltanlageView" for the fields of the Schaltanlage entity. The SchaltanlageView must contain the following fields: - name: Areal type: Areal - name: Beschreibung type: STRING - name: Name type: STRING - name: Schaltanlagentyp type: STRING - name: Spannungsebene type: Spannungsebene - name: Umspannwerk type: Umspannwerk The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Areal] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing Schaltanlage entity should be loaded from the relative URL: "/SchaltanlageService/schaltanlage/{id}" (HTTP-GET) If a new Schaltanlage entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-POST) If an existing Schaltanlage entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schaltanlage/{id}" (HTTP-PUT) If an existing Schaltanlage entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schaltanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PrimaertechnikKomponente columns: - column: Areal - column: Schaltanlage - column: Umspannwerk - column: Schaltfeld - column: Beschreibung - column: TechnischeDaten - column: Transformator - column: Name - column: Komponententyp The table should have the title "PrimaertechnikKomponentes" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/primaertechnikkomponente/schaltanlage/{id}" Add a HTML table to the view with the following Schaltfeld columns: - column: Schaltanlage - column: Beschreibung - column: Name - column: Funktion The table should have the title "Schaltfelds" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltfeld/schaltanlage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum