Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HaushaltView
Please create a React-JS view called "HaushaltView" for the fields of the Haushalt entity. The HaushaltView must contain the following fields: - name: Bildungsniveau type: STRING - name: Einkommensniveau type: STRING - name: Land type: Land - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Haushalt entity should be loaded from the relative URL: "/SchuelerService/haushalt/{id}" (HTTP-GET) If a new Haushalt entity has been created, the new entity should be posted to the relative URL: "/SchuelerService/haushalt" (HTTP-POST) If an existing Haushalt entity has been updated, the modified entity should be sent to the relative URL: "/SchuelerService/haushalt/{id}" (HTTP-PUT) If an existing Haushalt entity has to be deleted, the following relative URL should be called: "/SchuelerService/haushalt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchuelerHaushalt columns: - column: VonDatum - column: BisDatum - column: Haushalt - column: Schueler The table should have the title "SchuelerHaushalts" und the data must be loaded from the server with the following relative URL: "/SchuelerService/schuelerhaushalt/haushalt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum