Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
OrtView
Please create a React-JS view called "OrtView" for the fields of the Ort entity. The OrtView must contain the following fields: - name: Beschreibung type: STRING - name: Breitengrad type: STRING - name: Laengengrad type: STRING - name: Land type: STRING - name: Name type: STRING - name: Region type: STRING - name: Stadt type: STRING An existing Ort entity should be loaded from the relative URL: "/OrtService/ort/{id}" (HTTP-GET) If a new Ort entity has been created, the new entity should be posted to the relative URL: "/OrtService/ort" (HTTP-POST) If an existing Ort entity has been updated, the modified entity should be sent to the relative URL: "/OrtService/ort/{id}" (HTTP-PUT) If an existing Ort entity has to be deleted, the following relative URL should be called: "/OrtService/ort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bruecke columns: - column: BreiteMeter - column: Name - column: Eroeffnung - column: Beschreibung - column: LaengeMeter - column: Baujahr - column: Tragwerkssystem - column: Wasserlauf - column: BeweglichesBrueckensystem - column: Material - column: HauptspannweiteMeter - column: IstBeweglich - column: AnzahlFelder - column: LichtraumhoeheMeter - column: Ort The table should have the title "Brueckes" und the data must be loaded from the server with the following relative URL: "/BrueckeService/bruecke/ort/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum