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: Adresse type: STRING - name: Email type: STRING - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING An existing Gast entity should be loaded from the relative URL: "/BuchungService/gast/{id}" (HTTP-GET) If a new Gast entity has been created, the new entity should be posted to the relative URL: "/BuchungService/gast" (HTTP-POST) If an existing Gast entity has been updated, the modified entity should be sent to the relative URL: "/BuchungService/gast/{id}" (HTTP-PUT) If an existing Gast entity has to be deleted, the following relative URL should be called: "/BuchungService/gast/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Buchung columns: - column: BuchungsDatum - column: Status - column: Unterkunft - column: Vermittler - column: Gesamtpreis - column: EndeDatum - column: BeginnDatum - column: Gast 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum