Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EnergieQuelleView
Please create a React-JS view called "EnergieQuelleView" for the fields of the EnergieQuelle entity. The EnergieQuelleView must contain the following fields: - name: IstErneuerbar type: BOOL - name: IstExtern type: BOOL - name: Name type: STRING An existing EnergieQuelle entity should be loaded from the relative URL: "/AnodenTypService/energiequelle/{id}" (HTTP-GET) If a new EnergieQuelle entity has been created, the new entity should be posted to the relative URL: "/AnodenTypService/energiequelle" (HTTP-POST) If an existing EnergieQuelle entity has been updated, the modified entity should be sent to the relative URL: "/AnodenTypService/energiequelle/{id}" (HTTP-PUT) If an existing EnergieQuelle entity has to be deleted, the following relative URL should be called: "/AnodenTypService/energiequelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetEnergieQuelle columns: - column: IstPrimaer - column: SpeicherGeraet - column: EnergieQuelle The table should have the title "GeraetEnergieQuelles" und the data must be loaded from the server with the following relative URL: "/AnodenTypService/geraetenergiequelle/energiequelle/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum