Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GaestetypApp
Please create a React-JS application for the GaestetypModule. The application has to offer the following views for the user interface: 1. EinheitstypView 2. GaestetypView 3. StellplatzPreisView 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 EinheitstypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Einheitstyp entity should be loaded from the relative URL: "/GaestetypService/einheitstyp/{id}" (HTTP-GET) If a new Einheitstyp entity has been created, the new entity should be posted to the relative URL: "/GaestetypService/einheitstyp" (HTTP-POST) If an existing Einheitstyp entity has been updated, the modified entity should be sent to the relative URL: "/GaestetypService/einheitstyp/{id}" (HTTP-PUT) If an existing Einheitstyp entity has to be deleted, the following relative URL should be called: "/GaestetypService/einheitstyp/{id}" (HTTP-DELETE) 2. The GaestetypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Gaestetyp entity should be loaded from the relative URL: "/GaestetypService/gaestetyp/{id}" (HTTP-GET) If a new Gaestetyp entity has been created, the new entity should be posted to the relative URL: "/GaestetypService/gaestetyp" (HTTP-POST) If an existing Gaestetyp entity has been updated, the modified entity should be sent to the relative URL: "/GaestetypService/gaestetyp/{id}" (HTTP-PUT) If an existing Gaestetyp entity has to be deleted, the following relative URL should be called: "/GaestetypService/gaestetyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StellplatzPreis columns: - column: Waehrung - column: Gaestetyp - column: AbwasserInklusive - column: Saison - column: PreisProNacht - column: WasserInklusive - column: StromInklusive - column: Stellplatz - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/GaestetypService/stellplatzpreis/gaestetyp/{id}" 3. The StellplatzPreisView must contain the following fields: - name: AbwasserInklusive type: BOOL - name: Gaestetyp type: Gaestetyp - name: PreisProNacht type: DOUBLE - name: Saison type: Saison - name: SanitaerInklusive type: BOOL - name: Stellplatz type: Stellplatz - name: StromInklusive type: BOOL - name: Waehrung type: STRING - name: WasserInklusive type: BOOL The data source for the [Gaestetyp] select control should be loaded from the relative URL: "/GaestetypService/gaestetyp" (HTTP-GET) The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StellplatzService/stellplatz" (HTTP-GET) The data source for the [Saison] select control should be loaded from the relative URL: "/CampingplatzService/saison" (HTTP-GET) An existing StellplatzPreis entity should be loaded from the relative URL: "/GaestetypService/stellplatzpreis/{id}" (HTTP-GET) If a new StellplatzPreis entity has been created, the new entity should be posted to the relative URL: "/GaestetypService/stellplatzpreis" (HTTP-POST) If an existing StellplatzPreis entity has been updated, the modified entity should be sent to the relative URL: "/GaestetypService/stellplatzpreis/{id}" (HTTP-PUT) If an existing StellplatzPreis entity has to be deleted, the following relative URL should be called: "/GaestetypService/stellplatzpreis/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum