Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LeuchteView
Please create a React-JS view called "LeuchteView" for the fields of the Leuchte entity. The LeuchteView must contain the following fields: - name: Code type: STRING - name: GehaeuseMaterial type: STRING - name: HatSekundaersystem type: BOOL - name: Hersteller type: STRING - name: IpSchutz type: STRING - name: IstDimmbar type: BOOL - name: IstLed type: BOOL - name: Modell type: STRING - name: Montageart type: STRING - name: OptikTyp type: STRING An existing Leuchte entity should be loaded from the relative URL: "/LichtquellenTypService/leuchte/{id}" (HTTP-GET) If a new Leuchte entity has been created, the new entity should be posted to the relative URL: "/LichtquellenTypService/leuchte" (HTTP-POST) If an existing Leuchte entity has been updated, the modified entity should be sent to the relative URL: "/LichtquellenTypService/leuchte/{id}" (HTTP-PUT) If an existing Leuchte entity has to be deleted, the following relative URL should be called: "/LichtquellenTypService/leuchte/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leuchteninstallation columns: - column: Montagehoehe - column: IstAnGebaeude - column: Leuchte - column: Strassenbeleuchtungsanlage - column: Mast - column: IstAnBruecke - column: PositionUeberFahrbahn - column: AbstandMeter - column: Stromkreis - column: IstAnSeil The table should have the title "Leuchteninstallations" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/leuchteninstallation/leuchte/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum