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. KraftstoffPreisView 2. TankstelleView 3. TankstelleDienstleistungView 4. TankstelleRegelungView 5. TankstelleUmweltMassnahmeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The KraftstoffPreisView must contain the following fields: - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: KraftstoffArt type: KraftstoffArt - name: PreisProLiter type: STRING - name: Quelle type: STRING - name: Tankstelle type: Tankstelle - name: Waehrung type: STRING The data source for the [KraftstoffArt] select control should be loaded from the relative URL: "/KraftstoffArtService/kraftstoffart" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing KraftstoffPreis entity should be loaded from the relative URL: "/TankstelleService/kraftstoffpreis/{id}" (HTTP-GET) If a new KraftstoffPreis entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/kraftstoffpreis" (HTTP-POST) If an existing KraftstoffPreis entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/kraftstoffpreis/{id}" (HTTP-PUT) If an existing KraftstoffPreis entity has to be deleted, the following relative URL should be called: "/TankstelleService/kraftstoffpreis/{id}" (HTTP-DELETE) 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: "/FahrzeugTypService/standort" (HTTP-GET) The data source for the [Betreiber] select control should be loaded from the relative URL: "/BetreiberService/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 TankstelleRegelung columns: - column: Regelung - column: LetztePruefung - column: Tankstelle - column: IstPflicht - column: Status The table should have the title "TankstelleRegelungs" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelleregelung/tankstelle/{id}" Add a HTML table to the view with the following TankstelleUmweltMassnahme columns: - column: UmweltMassnahme - column: Tankstelle - 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: "/TankstelleService/tankstelleumweltmassnahme/tankstelle/{id}" Add a HTML table to the view with the following TankstelleDienstleistung columns: - column: Tankstelle - column: IstHauptservice - column: DienstleistungArt - column: Notizen The table should have the title "TankstelleDienstleistungs" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelledienstleistung/tankstelle/{id}" Add a HTML table to the view with the following Vorfall columns: - column: AnBehoerdeGemeldet - column: VorfallArt - column: Schweregrad - column: Beschreibung - column: Tankstelle - column: Zeitpunkt The table should have the title "Vorfalls" und the data must be loaded from the server with the following relative URL: "/TankstellenTypService/vorfall/tankstelle/{id}" Add a HTML table to the view with the following Shop columns: - column: HatBistro - column: HatSitzplaetze - column: Tankstelle - column: FlaecheM2 - column: Name The table should have the title "Shops" und the data must be loaded from the server with the following relative URL: "/MarkeService/shop/tankstelle/{id}" Add a HTML table to the view with the following Zapfsaeule columns: - column: PositionIndex - column: Bezeichnung - column: IstLkwGeeignet - column: Tankstelle The table should have the title "Zapfsaeules" und the data must be loaded from the server with the following relative URL: "/KraftstoffArtService/zapfsaeule/tankstelle/{id}" Add a HTML table to the view with the following TankstelleZahlungsOption columns: - column: ZahlungsArt - column: Notizen - column: Tankstelle - column: IstBevorzugt The table should have the title "TankstelleZahlungsOptions" und the data must be loaded from the server with the following relative URL: "/RegelungService/tankstellezahlungsoption/tankstelle/{id}" Add a HTML table to the view with the following WaschAnlage columns: - column: Name - column: HatUnterboden - column: MaxHoeheM - column: Tankstelle - column: Typ The table should have the title "WaschAnlages" und the data must be loaded from the server with the following relative URL: "/FahrzeugTypService/waschanlage/tankstelle/{id}" Add a HTML table to the view with the following LadeStation columns: - column: MaxGesamtleistungKw - column: BackendSystem - column: Betreiber - column: Tankstelle - column: Name The table should have the title "LadeStations" und the data must be loaded from the server with the following relative URL: "/BetreiberService/ladestation/tankstelle/{id}" Add a HTML table to the view with the following OeffnungsZeit columns: - column: VonZeit - column: IstGeschlossen - column: BisZeit - column: WochenTag - column: Notizen - column: Tankstelle - column: Ist24h 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}" Add a HTML table to the view with the following WasserstoffSystem columns: - column: Tankstelle - column: HatVorkuehlung - column: MaxDruckBar - column: SpeicherKapazitaet - column: KraftstoffArt The table should have the title "WasserstoffSystems" und the data must be loaded from the server with the following relative URL: "/KraftstoffArtService/wasserstoffsystem/tankstelle/{id}" Add a HTML table to the view with the following GasSpeicher columns: - column: IstUnterirdisch - column: SpeicherTyp - column: Kapazitaet - column: Tankstelle - column: KraftstoffArt - column: Druckstufe 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 TankstelleKundenSegment columns: - column: Tankstelle - column: KundenSegment - column: Wichtigkeit 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 KraftstoffPreis columns: - column: PreisProLiter - column: KraftstoffArt - column: GueltigBis - column: GueltigVon - column: Waehrung - column: Quelle - column: Tankstelle The table should have the title "KraftstoffPreiss" und the data must be loaded from the server with the following relative URL: "/TankstelleService/kraftstoffpreis/tankstelle/{id}" 3. The TankstelleDienstleistungView must contain the following fields: - name: DienstleistungArt type: DienstleistungArt - name: IstHauptservice type: BOOL - name: Notizen type: STRING - name: Tankstelle type: Tankstelle The data source for the [DienstleistungArt] select control should be loaded from the relative URL: "/BetreiberService/dienstleistungart" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing TankstelleDienstleistung entity should be loaded from the relative URL: "/TankstelleService/tankstelledienstleistung/{id}" (HTTP-GET) If a new TankstelleDienstleistung entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/tankstelledienstleistung" (HTTP-POST) If an existing TankstelleDienstleistung entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/tankstelledienstleistung/{id}" (HTTP-PUT) If an existing TankstelleDienstleistung entity has to be deleted, the following relative URL should be called: "/TankstelleService/tankstelledienstleistung/{id}" (HTTP-DELETE) 4. The TankstelleRegelungView must contain the following fields: - name: IstPflicht type: BOOL - name: LetztePruefung type: DATE - name: Regelung type: Regelung - name: Status type: STRING - name: Tankstelle type: Tankstelle The data source for the [Regelung] select control should be loaded from the relative URL: "/RegelungService/regelung" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing TankstelleRegelung entity should be loaded from the relative URL: "/TankstelleService/tankstelleregelung/{id}" (HTTP-GET) If a new TankstelleRegelung entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/tankstelleregelung" (HTTP-POST) If an existing TankstelleRegelung entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/tankstelleregelung/{id}" (HTTP-PUT) If an existing TankstelleRegelung entity has to be deleted, the following relative URL should be called: "/TankstelleService/tankstelleregelung/{id}" (HTTP-DELETE) 5. The TankstelleUmweltMassnahmeView must contain the following fields: - name: ImplementierungsDatum type: DATE - name: Notizen type: STRING - name: Tankstelle type: Tankstelle - name: UmweltMassnahme type: UmweltMassnahme The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) The data source for the [UmweltMassnahme] select control should be loaded from the relative URL: "/BetreiberService/umweltmassnahme" (HTTP-GET) An existing TankstelleUmweltMassnahme entity should be loaded from the relative URL: "/TankstelleService/tankstelleumweltmassnahme/{id}" (HTTP-GET) If a new TankstelleUmweltMassnahme entity has been created, the new entity should be posted to the relative URL: "/TankstelleService/tankstelleumweltmassnahme" (HTTP-POST) If an existing TankstelleUmweltMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/TankstelleService/tankstelleumweltmassnahme/{id}" (HTTP-PUT) If an existing TankstelleUmweltMassnahme entity has to be deleted, the following relative URL should be called: "/TankstelleService/tankstelleumweltmassnahme/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum