Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GasartView
Please create a React-JS view called "GasartView" for the fields of the Gasart entity. The GasartView must contain the following fields: - name: Beschreibung type: STRING - name: Fossil type: BOOL - name: Hergestellt type: BOOL - name: Name type: STRING An existing Gasart entity should be loaded from the relative URL: "/GasartService/gasart/{id}" (HTTP-GET) If a new Gasart entity has been created, the new entity should be posted to the relative URL: "/GasartService/gasart" (HTTP-POST) If an existing Gasart entity has been updated, the modified entity should be sent to the relative URL: "/GasartService/gasart/{id}" (HTTP-PUT) If an existing Gasart entity has to be deleted, the following relative URL should be called: "/GasartService/gasart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Gasnutzung columns: - column: Land - column: Sektor - column: Gasart - column: Jahr - column: VolumenBcm - column: Notizen The table should have the title "Gasnutzungs" und the data must be loaded from the server with the following relative URL: "/GasartService/gasnutzung/gasart/{id}" 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/gasart/{id}" Add a HTML table to the view with the following Gasimport columns: - column: VolumenBcm - column: ExportLand - column: Notizen - column: Gasart - column: Jahr - column: PipelineRoute - column: ImportLand The table should have the title "Gasimports" und the data must be loaded from the server with the following relative URL: "/GasartService/gasimport/gasart/{id}" Add a HTML table to the view with the following Pipeline columns: - column: Endjahr - column: HerkunftsLand - column: ZielLand - column: HauptGasart - column: Name - column: Startjahr - column: LaengeKm - column: Notizen The table should have the title "Pipelines" und the data must be loaded from the server with the following relative URL: "/PipelineService/pipeline/hauptgasart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum