Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GastView
Please create a React-JS view called "GastView" for the fields of the Gast entity. The GastView must contain the following fields: - name: Email type: STRING - name: Erstellzeitpunkt type: DATE - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING - name: Wohnland type: STRING An existing Gast entity should be loaded from the relative URL: "/GastService/gast/{id}" (HTTP-GET) If a new Gast entity has been created, the new entity should be posted to the relative URL: "/GastService/gast" (HTTP-POST) If an existing Gast entity has been updated, the modified entity should be sent to the relative URL: "/GastService/gast/{id}" (HTTP-PUT) If an existing Gast entity has to be deleted, the following relative URL should be called: "/GastService/gast/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Suchanfrage columns: - column: MaximalePersonen - column: Gast - column: Land - column: AbreiseDatum - column: ErwachseneAnzahl - column: Erstellzeitpunkt - column: Sortierung - column: SessionToken - column: HaustiereAnzahl - column: MindestBewertung - column: AnreiseDatum - column: KinderAnzahl - column: Region - column: Freitext - column: Ort The table should have the title "Suchanfrages" und the data must be loaded from the server with the following relative URL: "/GastService/suchanfrage/gast/{id}" Add a HTML table to the view with the following Bewertung columns: - column: Titel - column: SterneGesamt - column: SterneAusstattung - column: Text - column: Buchung - column: Unterkunft - column: Erstellzeitpunkt - column: Freigeschaltet - column: SterneSauberkeit - column: SterneKommunikation - column: SterneLage - column: Gast The table should have the title "Bewertungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/bewertung/gast/{id}" Add a HTML table to the view with the following Buchung columns: - column: KinderAnzahl - column: Gast - column: AnreiseDatum - column: AntwortGastgeber - column: Unterkunft - column: Waehrung - column: BuchungsQuelle - column: BuchungsZeitpunkt - column: StornierungsDatum - column: AbreiseDatum - column: StornierungsGebuehr - column: ErwachseneAnzahl - column: Status - column: GesamtPreis - column: NachrichtAnGastgeber - column: HaustiereAnzahl The table should have the title "Buchungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/buchung/gast/{id}" Add a HTML table to the view with the following Merkzettel columns: - column: LetzteAktualisierung - column: SessionToken - column: Gast - column: Erstellzeitpunkt The table should have the title "Merkzettels" und the data must be loaded from the server with the following relative URL: "/MerkzettelService/merkzettel/gast/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum