Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterkunftTypView
Please create a React-JS view called "UnterkunftTypView" for the fields of the UnterkunftTyp entity. The UnterkunftTypView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: Erstellzeitpunkt type: DATE - name: Name type: STRING An existing UnterkunftTyp entity should be loaded from the relative URL: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-GET) If a new UnterkunftTyp entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunfttyp" (HTTP-POST) If an existing UnterkunftTyp entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-PUT) If an existing UnterkunftTyp entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterkunft columns: - column: OnlineBuchbar - column: EntfernungSeeMeter - column: Erstellzeitpunkt - column: Aktiv - column: BadezimmerAnzahl - column: HaustiereErlaubt - column: MaximalePersonen - column: Langbeschreibung - column: Parkplatz - column: UnterkunftKategorie - column: Titel - column: InternetWlan - column: Ort - column: WohnflaecheQm - column: EntfernungMeerMeter - column: UnterkunftTyp - column: AnreiseTagEinschraenkung - column: Kurzbeschreibung - column: SchlafzimmerAnzahl - column: MindestAufenthaltNaechte - column: EntfernungStadtzentrumMeter - column: Barrierefrei - column: RauchenErlaubt - column: Gastgeber The table should have the title "Unterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunft/unterkunfttyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum