Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StellplatzApp
Please create a React-JS application for the StellplatzModule. The application has to offer the following views for the user interface: 1. EinheitstypView 2. StellplatzView 3. StellplatzAusstattungView 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: "/StellplatzService/einheitstyp/{id}" (HTTP-GET) If a new Einheitstyp entity has been created, the new entity should be posted to the relative URL: "/StellplatzService/einheitstyp" (HTTP-POST) If an existing Einheitstyp entity has been updated, the modified entity should be sent to the relative URL: "/StellplatzService/einheitstyp/{id}" (HTTP-PUT) If an existing Einheitstyp entity has to be deleted, the following relative URL should be called: "/StellplatzService/einheitstyp/{id}" (HTTP-DELETE) 2. The StellplatzView must contain the following fields: - name: Barrierefrei type: BOOL - name: Beschreibung type: STRING - name: Campingplatz type: Campingplatz - name: HatAbwasseranschluss type: BOOL - name: HatPrivateSanitaeranlage type: BOOL - name: HatStromanschluss type: BOOL - name: HatTvAnschluss type: BOOL - name: HatWasseranschluss type: BOOL - name: HatWlan type: BOOL - name: IstDauerstellplatz type: BOOL - name: IstTouristenstellplatz type: BOOL - name: IstWohnmobilstellplatz type: BOOL - name: MaxFahrzeuglaengeMeter type: DOUBLE - name: MaxPersonen type: LONG - name: NurZelt type: BOOL - name: Stellplatznummer type: STRING - name: Untergrund type: STRING The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Stellplatz entity should be loaded from the relative URL: "/StellplatzService/stellplatz/{id}" (HTTP-GET) If a new Stellplatz entity has been created, the new entity should be posted to the relative URL: "/StellplatzService/stellplatz" (HTTP-POST) If an existing Stellplatz entity has been updated, the modified entity should be sent to the relative URL: "/StellplatzService/stellplatz/{id}" (HTTP-PUT) If an existing Stellplatz entity has to be deleted, the following relative URL should be called: "/StellplatzService/stellplatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StellplatzAusstattung columns: - column: Stellplatz - column: Ausstattung - column: Hinweis - column: Menge The table should have the title "StellplatzAusstattungs" und the data must be loaded from the server with the following relative URL: "/StellplatzService/stellplatzausstattung/stellplatz/{id}" Add a HTML table to the view with the following StellplatzPreis columns: - column: Saison - column: Stellplatz - column: AbwasserInklusive - column: StromInklusive - column: WasserInklusive - column: PreisProNacht - column: Gaestetyp - column: Waehrung - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/stellplatzpreis/stellplatz/{id}" Add a HTML table to the view with the following StellplatzVerfuegbarkeit columns: - column: Saison - column: ReduzierterService - column: Offen - column: Stellplatz - column: Hinweis The table should have the title "StellplatzVerfuegbarkeits" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/stellplatzverfuegbarkeit/stellplatz/{id}" 3. The StellplatzAusstattungView must contain the following fields: - name: Ausstattung type: Ausstattung - name: Hinweis type: STRING - name: Menge type: LONG - name: Stellplatz type: Stellplatz The data source for the [Ausstattung] select control should be loaded from the relative URL: "/StandortService/ausstattung" (HTTP-GET) The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StellplatzService/stellplatz" (HTTP-GET) An existing StellplatzAusstattung entity should be loaded from the relative URL: "/StellplatzService/stellplatzausstattung/{id}" (HTTP-GET) If a new StellplatzAusstattung entity has been created, the new entity should be posted to the relative URL: "/StellplatzService/stellplatzausstattung" (HTTP-POST) If an existing StellplatzAusstattung entity has been updated, the modified entity should be sent to the relative URL: "/StellplatzService/stellplatzausstattung/{id}" (HTTP-PUT) If an existing StellplatzAusstattung entity has to be deleted, the following relative URL should be called: "/StellplatzService/stellplatzausstattung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum