Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BetreiberApp
Please create a React-JS application for the BetreiberModule. The application has to offer the following views for the user interface: 1. BetreiberView 2. DienstleistungArtView 3. LadeStationView 4. UmweltMassnahmeView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 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: "/BetreiberService/betreiber/{id}" (HTTP-GET) If a new Betreiber entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/betreiber" (HTTP-POST) If an existing Betreiber entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/betreiber/{id}" (HTTP-PUT) If an existing Betreiber entity has to be deleted, the following relative URL should be called: "/BetreiberService/betreiber/{id}" (HTTP-DELETE) 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/betreiber/{id}" Add a HTML table to the view with the following Tankstelle columns: - column: TankstellenTyp - column: HatWaschanlage - column: Marke - column: Name - column: AusserbetriebnahmeDatum - column: HatLadestation - column: HatShop - column: Betreiber - column: InbetriebnahmeDatum - column: Standort 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}" 2. The DienstleistungArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing DienstleistungArt entity should be loaded from the relative URL: "/BetreiberService/dienstleistungart/{id}" (HTTP-GET) If a new DienstleistungArt entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/dienstleistungart" (HTTP-POST) If an existing DienstleistungArt entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/dienstleistungart/{id}" (HTTP-PUT) If an existing DienstleistungArt entity has to be deleted, the following relative URL should be called: "/BetreiberService/dienstleistungart/{id}" (HTTP-DELETE) 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/dienstleistungart/{id}" 3. The LadeStationView must contain the following fields: - name: BackendSystem type: STRING - name: Betreiber type: Betreiber - name: MaxGesamtleistungKw type: STRING - name: Name type: STRING - name: Tankstelle type: Tankstelle The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) The data source for the [Betreiber] select control should be loaded from the relative URL: "/BetreiberService/betreiber" (HTTP-GET) An existing LadeStation entity should be loaded from the relative URL: "/BetreiberService/ladestation/{id}" (HTTP-GET) If a new LadeStation entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/ladestation" (HTTP-POST) If an existing LadeStation entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/ladestation/{id}" (HTTP-PUT) If an existing LadeStation entity has to be deleted, the following relative URL should be called: "/BetreiberService/ladestation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LadePunkt columns: - column: SteckerTyp - column: LadeStation - column: Ist24hZugaenglich - column: FahrzeugTyp - column: MaxLeistungKw The table should have the title "LadePunkts" und the data must be loaded from the server with the following relative URL: "/FahrzeugTypService/ladepunkt/ladestation/{id}" 4. The UmweltMassnahmeView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing UmweltMassnahme entity should be loaded from the relative URL: "/BetreiberService/umweltmassnahme/{id}" (HTTP-GET) If a new UmweltMassnahme entity has been created, the new entity should be posted to the relative URL: "/BetreiberService/umweltmassnahme" (HTTP-POST) If an existing UmweltMassnahme entity has been updated, the modified entity should be sent to the relative URL: "/BetreiberService/umweltmassnahme/{id}" (HTTP-PUT) If an existing UmweltMassnahme entity has to be deleted, the following relative URL should be called: "/BetreiberService/umweltmassnahme/{id}" (HTTP-DELETE) 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/umweltmassnahme/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum