Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TankstelleApp
Please create a React-JS application for the TankstelleModule. The application has to offer the following views for the user interface: 1. BetreiberView 2. TankstelleView 3. WaschAnlageView 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 BetreiberView must contain the following fields: - name: Land type: STRING - name: Name type: STRING - name: Rechtsform type: STRING - name: Webseite type: STRING An existing Betreiber entity should be loaded from the relative URL: "/TankstelleService/betreiber/{id}" (HTTP-GET) If a new Betreiber entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/betreiber" (HTTP-POST) If an existing Betreiber entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/betreiber/{id}" (HTTP-PUT) If an existing Betreiber entity has to be deleted, the following relative URL should be called: "/TankstelleService/betreiber/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tankstelle columns: - column: AusserbetriebnahmeDatum - column: InbetriebnahmeDatum - column: Marke - column: Name - column: HatShop - column: HatLadestation - column: TankstellenTyp - column: Standort - column: HatWaschanlage - column: Betreiber The table should have the title "Tankstelles" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelle/betreiber/{id}" Add a HTML table to the view with the following LadeStation columns: - column: Name - column: Tankstelle - column: MaxGesamtleistungKw - column: BackendSystem - column: BetreiberName The table should have the title "LadeStations" und the data must be loaded from the server with the following relative URL: "/LadeStationService/ladestation/betreibername/{id}" 2. The TankstelleView must contain the following fields: - name: AusserbetriebnahmeDatum type: DATE - name: Betreiber type: Betreiber - name: HatLadestation type: BOOL - name: HatShop type: BOOL - name: HatWaschanlage type: BOOL - name: InbetriebnahmeDatum type: DATE - name: Marke type: Marke - name: Name type: STRING - name: Standort type: Standort - name: TankstellenTyp type: TankstellenTyp The data source for the [Marke] select control should be loaded from the relative URL: "/MarkeService/marke" (HTTP-GET) The data source for the [TankstellenTyp] select control should be loaded from the relative URL: "/TankstellenTypService/tankstellentyp" (HTTP-GET) The data source for the [Standort] select control should be loaded from the relative URL: "/StandortService/standort" (HTTP-GET) The data source for the [Betreiber] select control should be loaded from the relative URL: "/TankstelleService/betreiber" (HTTP-GET) An existing Tankstelle entity should be loaded from the relative URL: "/TankstelleService/tankstelle/{id}" (HTTP-GET) If a new Tankstelle entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/tankstelle" (HTTP-POST) If an existing Tankstelle entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/tankstelle/{id}" (HTTP-PUT) If an existing Tankstelle entity has to be deleted, the following relative URL should be called: "/TankstelleService/tankstelle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WaschAnlage columns: - column: Typ - column: Tankstelle - column: Name - column: HatUnterboden - column: MaxHoeheM The table should have the title "WaschAnlages" und the data must be loaded from the server with the following relative URL: "/TankstelleService/waschanlage/tankstelle/{id}" Add a HTML table to the view with the following LadeStation columns: - column: Name - column: Tankstelle - column: MaxGesamtleistungKw - column: BackendSystem - column: BetreiberName The table should have the title "LadeStations" und the data must be loaded from the server with the following relative URL: "/LadeStationService/ladestation/tankstelle/{id}" Add a HTML table to the view with the following Shop columns: - column: Tankstelle - column: FlaecheM2 - column: HatBistro - column: HatSitzplaetze - column: Name The table should have the title "Shops" und the data must be loaded from the server with the following relative URL: "/ShopService/shop/tankstelle/{id}" Add a HTML table to the view with the following KraftstoffPreis columns: - column: KraftstoffArt - column: GueltigVon - column: GueltigBis - column: Quelle - column: Tankstelle - column: Waehrung - column: PreisProLiter The table should have the title "KraftstoffPreiss" und the data must be loaded from the server with the following relative URL: "/KraftstoffArtService/kraftstoffpreis/tankstelle/{id}" Add a HTML table to the view with the following TankstelleUmweltMassnahme columns: - column: Tankstelle - column: UmweltMassnahme - column: Notizen - column: ImplementierungsDatum The table should have the title "TankstelleUmweltMassnahmes" und the data must be loaded from the server with the following relative URL: "/TankstellenTypService/tankstelleumweltmassnahme/tankstelle/{id}" Add a HTML table to the view with the following TankstelleZahlungsOption columns: - column: Tankstelle - column: IstBevorzugt - column: Notizen - column: ZahlungsArt The table should have the title "TankstelleZahlungsOptions" und the data must be loaded from the server with the following relative URL: "/ShopProduktKategorieService/tankstellezahlungsoption/tankstelle/{id}" Add a HTML table to the view with the following TankstelleKundenSegment columns: - column: KundenSegment - column: Wichtigkeit - column: Tankstelle The table should have the title "TankstelleKundenSegments" und the data must be loaded from the server with the following relative URL: "/KundenSegmentService/tankstellekundensegment/tankstelle/{id}" Add a HTML table to the view with the following WasserstoffSystem columns: - column: HatVorkuehlung - column: KraftstoffArt - column: MaxDruckBar - column: Tankstelle - column: SpeicherKapazitaet The table should have the title "WasserstoffSystems" und the data must be loaded from the server with the following relative URL: "/VorfallArtService/wasserstoffsystem/tankstelle/{id}" Add a HTML table to the view with the following Vorfall columns: - column: Schweregrad - column: Tankstelle - column: Beschreibung - column: Zeitpunkt - column: VorfallArt - column: AnBehoerdeGemeldet The table should have the title "Vorfalls" und the data must be loaded from the server with the following relative URL: "/VorfallArtService/vorfall/tankstelle/{id}" Add a HTML table to the view with the following TankstelleRegelung columns: - column: Regelung - column: LetztePruefung - column: IstPflicht - column: Tankstelle - column: Status The table should have the title "TankstelleRegelungs" und the data must be loaded from the server with the following relative URL: "/StandortService/tankstelleregelung/tankstelle/{id}" Add a HTML table to the view with the following Zapfsaeule columns: - column: Tankstelle - column: Bezeichnung - column: PositionIndex - column: IstLkwGeeignet The table should have the title "Zapfsaeules" und the data must be loaded from the server with the following relative URL: "/ZapfsaeuleService/zapfsaeule/tankstelle/{id}" Add a HTML table to the view with the following TankstelleService columns: - column: Tankstelle - column: Notizen - column: IstHauptservice - column: ServiceArt The table should have the title "TankstelleServices" und the data must be loaded from the server with the following relative URL: "/MarkeService/tankstelleservice/tankstelle/{id}" Add a HTML table to the view with the following GasSpeicher columns: - column: IstUnterirdisch - column: KraftstoffArt - column: SpeicherTyp - column: Druckstufe - column: Tankstelle - column: Kapazitaet The table should have the title "GasSpeichers" und the data must be loaded from the server with the following relative URL: "/KraftstoffArtService/gasspeicher/tankstelle/{id}" Add a HTML table to the view with the following OeffnungsZeit columns: - column: BisZeit - column: WochenTag - column: Tankstelle - column: Ist24h - column: Notizen - column: VonZeit - column: IstGeschlossen The table should have the title "OeffnungsZeits" und the data must be loaded from the server with the following relative URL: "/KundenSegmentService/oeffnungszeit/tankstelle/{id}" 3. The WaschAnlageView must contain the following fields: - name: HatUnterboden type: BOOL - name: MaxHoeheM type: STRING - name: Name type: STRING - name: Tankstelle type: Tankstelle - name: Typ type: STRING The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing WaschAnlage entity should be loaded from the relative URL: "/TankstelleService/waschanlage/{id}" (HTTP-GET) If a new WaschAnlage entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/waschanlage" (HTTP-POST) If an existing WaschAnlage entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/waschanlage/{id}" (HTTP-PUT) If an existing WaschAnlage entity has to be deleted, the following relative URL should be called: "/TankstelleService/waschanlage/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum