Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchaltfeldView
Please create a React-JS view called "SchaltfeldView" for the fields of the Schaltfeld entity. The SchaltfeldView must contain the following fields: - name: Beschreibung type: STRING - name: Funktion type: STRING - name: Name type: STRING - name: Schaltanlage type: Schaltanlage The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) An existing Schaltfeld entity should be loaded from the relative URL: "/SchaltanlageService/schaltfeld/{id}" (HTTP-GET) If a new Schaltfeld entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schaltfeld" (HTTP-POST) If an existing Schaltfeld entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schaltfeld/{id}" (HTTP-PUT) If an existing Schaltfeld entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schaltfeld/{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/schaltfeld/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum