Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EreignisView
Please create a React-JS view called "EreignisView" for the fields of the Ereignis entity. The EreignisView must contain the following fields: - name: Beschreibung type: STRING - name: Ereignisart type: STRING - name: Jahr type: LONG - name: Krieg type: Krieg - name: Land type: Land - name: Monat type: LONG - name: Name type: STRING - name: Stadt type: Stadt - name: Tag type: LONG - name: Wirtschaftskrise type: Wirtschaftskrise The data source for the [Krieg] select control should be loaded from the relative URL: "/AnlageService/krieg" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Wirtschaftskrise] select control should be loaded from the relative URL: "/AnlageService/wirtschaftskrise" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Ereignis entity should be loaded from the relative URL: "/AnlageService/ereignis/{id}" (HTTP-GET) If a new Ereignis entity has been created, the new entity should be posted to the relative URL: "/AnlageService/ereignis" (HTTP-POST) If an existing Ereignis entity has been updated, the modified entity should be sent to the relative URL: "/AnlageService/ereignis/{id}" (HTTP-PUT) If an existing Ereignis entity has to be deleted, the following relative URL should be called: "/AnlageService/ereignis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EreignisBeteiligung columns: - column: Notizen - column: Person - column: Organisation - column: Pipeline - column: Rolle - column: Anlage - column: Ereignis The table should have the title "EreignisBeteiligungs" und the data must be loaded from the server with the following relative URL: "/AnlageService/ereignisbeteiligung/ereignis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum