Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StadtView
Please create a React-JS view called "StadtView" for the fields of the Stadt entity. The StadtView must contain the following fields: - name: EinwohnerSchaetzung type: LONG - name: Land type: Land - name: Name type: STRING - name: Notizen type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/LandService/region" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/LandService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/LandService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/LandService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Gasquelle columns: - column: Endjahr - column: Gasart - column: Quellentyp - column: Startjahr - column: Name - column: Land - column: Notizen - column: StandortStadt The table should have the title "Gasquelles" und the data must be loaded from the server with the following relative URL: "/GasartService/gasquelle/standortstadt/{id}" Add a HTML table to the view with the following Organisation columns: - column: Land - column: Notizen - column: Gruendungsjahr - column: Name - column: Aufloesungsjahr - column: Organisationsart - column: SitzStadt The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/LandService/organisation/sitzstadt/{id}" Add a HTML table to the view with the following Anlage columns: - column: Stadt - column: Startjahr - column: Land - column: Name - column: Notizen - column: Anlagetyp - column: BetreiberOrganisation - column: Endjahr The table should have the title "Anlages" und the data must be loaded from the server with the following relative URL: "/AnlageService/anlage/stadt/{id}" Add a HTML table to the view with the following Ereignis columns: - column: Land - column: Beschreibung - column: Ereignisart - column: Krieg - column: Wirtschaftskrise - column: Name - column: Tag - column: Monat - column: Jahr - column: Stadt The table should have the title "Ereigniss" und the data must be loaded from the server with the following relative URL: "/AnlageService/ereignis/stadt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum