Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterkunftstypApp
Please create a React-JS application for the UnterkunftstypModule. The application has to offer the following views for the user interface: 1. MietunterkunftView 2. PlatztypView 3. UnterkunftstypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The MietunterkunftView must contain the following fields: - name: AnzahlEinheiten type: INT - name: Barrierefrei type: BOOL - name: Beschreibung type: STRING - name: Campingplatz type: Campingplatz - name: HatBad type: BOOL - name: HatHeizung type: BOOL - name: HatKlimaanlage type: BOOL - name: HatKueche type: BOOL - name: KapazitaetPersonen type: INT - name: Name type: STRING - name: Unterkunftstyp type: Unterkunftstyp The data source for the [Unterkunftstyp] select control should be loaded from the relative URL: "/UnterkunftstypService/unterkunftstyp" (HTTP-GET) The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Mietunterkunft entity should be loaded from the relative URL: "/UnterkunftstypService/mietunterkunft/{id}" (HTTP-GET) If a new Mietunterkunft entity has been created, the new entity should be posted to the relative URL: "/UnterkunftstypService/mietunterkunft" (HTTP-POST) If an existing Mietunterkunft entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftstypService/mietunterkunft/{id}" (HTTP-PUT) If an existing Mietunterkunft entity has to be deleted, the following relative URL should be called: "/UnterkunftstypService/mietunterkunft/{id}" (HTTP-DELETE) 2. The PlatztypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Platztyp entity should be loaded from the relative URL: "/UnterkunftstypService/platztyp/{id}" (HTTP-GET) If a new Platztyp entity has been created, the new entity should be posted to the relative URL: "/UnterkunftstypService/platztyp" (HTTP-POST) If an existing Platztyp entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftstypService/platztyp/{id}" (HTTP-PUT) If an existing Platztyp entity has to be deleted, the following relative URL should be called: "/UnterkunftstypService/platztyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Campingplatz columns: - column: HatHallenbad - column: AnzahlDauerstellplaetze - column: Standort - column: IstFkkPlatz - column: Telefon - column: HatBoule - column: AnzahlStellplaetze - column: HatTrimmDichPfad - column: Email - column: Eroeffnungsdatum - column: NurMikroCamping - column: Name - column: HatSchwimmbad - column: WebsiteUrl - column: HatShop - column: Betreiber - column: HatFitnessbereich - column: Beschreibung - column: Platztyp - column: GanzjaehrigGeoeffnet - column: HatWasserspielbereich - column: Schliessungsdatum - column: AnzahlTouristenplaetze - column: IstUrbanCamping - column: HatSpielplatz - column: HatSwingolf - column: ErlaubtWildcampingAehnlich - column: HatMinigolf - column: HatAnimationsprogramm - column: HatRestaurant The table should have the title "Campingplatzs" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/campingplatz/platztyp/{id}" 3. 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