Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StrassennetzView
Please create a React-JS view called "StrassennetzView" for the fields of the Strassennetz entity. The StrassennetzView must contain the following fields: - name: Beschreibung type: STRING - name: GesamtlaengeKm type: STRING - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Strassennetz entity should be loaded from the relative URL: "/LandService/strassennetz/{id}" (HTTP-GET) If a new Strassennetz entity has been created, the new entity should be posted to the relative URL: "/LandService/strassennetz" (HTTP-POST) If an existing Strassennetz entity has been updated, the modified entity should be sent to the relative URL: "/LandService/strassennetz/{id}" (HTTP-PUT) If an existing Strassennetz entity has to be deleted, the following relative URL should be called: "/LandService/strassennetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strasse columns: - column: Strassennetz - column: Strassenkategorie - column: LaengeKm - column: FahrstreifenProRichtung - column: HoechstgeschwindigkeitKmh - column: Schliessungsdatum - column: IstEinbahn - column: IstInnerorts - column: Name - column: IstMaut - column: Eroeffnungsdatum The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/StrasseService/strasse/strassennetz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum