Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterkunftstypView
Please create a React-JS view called "UnterkunftstypView" for the fields of the Unterkunftstyp entity. The UnterkunftstypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Unterkunftstyp entity should be loaded from the relative URL: "/UnterkunftstypService/unterkunftstyp/{id}" (HTTP-GET) If a new Unterkunftstyp entity has been created, the new entity should be posted to the relative URL: "/UnterkunftstypService/unterkunftstyp" (HTTP-POST) If an existing Unterkunftstyp entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftstypService/unterkunftstyp/{id}" (HTTP-PUT) If an existing Unterkunftstyp entity has to be deleted, the following relative URL should be called: "/UnterkunftstypService/unterkunftstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mietunterkunft columns: - column: HatHeizung - column: Name - column: Campingplatz - column: Beschreibung - column: KapazitaetPersonen - column: HatKlimaanlage - column: HatBad - column: Unterkunftstyp - column: Barrierefrei - column: HatKueche - column: AnzahlEinheiten The table should have the title "Mietunterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftstypService/mietunterkunft/unterkunftstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum