Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MastView
Please create a React-JS view called "MastView" for the fields of the Mast entity. The MastView must contain the following fields: - name: Code type: STRING - name: HatAusleger type: BOOL - name: HoeheMeter type: STRING - name: IstDekorativ type: BOOL - name: Material type: STRING - name: MontageortTyp type: STRING An existing Mast entity should be loaded from the relative URL: "/LeuchteninstallationService/mast/{id}" (HTTP-GET) If a new Mast entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/mast" (HTTP-POST) If an existing Mast entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/mast/{id}" (HTTP-PUT) If an existing Mast entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/mast/{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/mast/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum