Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TraegerView
Please create a React-JS view called "TraegerView" for the fields of the Traeger entity. The TraegerView must contain the following fields: - name: IstGewinnorientiert type: BOOL - name: Name type: STRING - name: Rechtsform type: STRING - name: SitzLand type: Land - name: SitzStadt type: Stadt - name: TraegerArt type: TraegerArt The data source for the [TraegerArt] select control should be loaded from the relative URL: "/TraegerArtService/traegerart" (HTTP-GET) The data source for the [SitzStadt] select control should be loaded from the relative URL: "/TraegerArtService/stadt" (HTTP-GET) The data source for the [SitzLand] select control should be loaded from the relative URL: "/KrankenhausService/land" (HTTP-GET) An existing Traeger entity should be loaded from the relative URL: "/TraegerArtService/traeger/{id}" (HTTP-GET) If a new Traeger entity has been created, the new entity should be posted to the relative URL: "/TraegerArtService/traeger" (HTTP-POST) If an existing Traeger entity has been updated, the modified entity should be sent to the relative URL: "/TraegerArtService/traeger/{id}" (HTTP-PUT) If an existing Traeger entity has to be deleted, the following relative URL should be called: "/TraegerArtService/traeger/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Krankenhaus columns: - column: Name - column: Postleitzahl - column: TraegerArt - column: Land - column: Gruendungsjahr - column: Kurzname - column: BettenGeplant - column: KrankenhausArt - column: IstUniversitaetsklinikum - column: Bundesland - column: Traeger - column: Strasse - column: BettenTatsaechlich - column: Stadt - column: Versorgungsstufe The table should have the title "Krankenhauss" und the data must be loaded from the server with the following relative URL: "/KrankenhausService/krankenhaus/traeger/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum