Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MarkeApp
Please create a React-JS application for the MarkeModule. The application has to offer the following views for the user interface: 1. MarkeView 2. ServiceArtView 3. TankstelleServiceView 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 MarkeView must contain the following fields: - name: Land type: STRING - name: Muttergesellschaft type: STRING - name: Name type: STRING - name: Webseite type: STRING An existing Marke entity should be loaded from the relative URL: "/MarkeService/marke/{id}" (HTTP-GET) If a new Marke entity has been created, the new entity should be posted to the relative URL: "/MarkeService/marke" (HTTP-POST) If an existing Marke entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/marke/{id}" (HTTP-PUT) If an existing Marke entity has to be deleted, the following relative URL should be called: "/MarkeService/marke/{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/marke/{id}" Add a HTML table to the view with the following ShopProdukt columns: - column: Sku - column: MarkenName - column: ShopProduktKategorie - column: Name - column: Einheitsgroesse - column: IstAltersbeschraenkt The table should have the title "ShopProdukts" und the data must be loaded from the server with the following relative URL: "/ShopService/shopprodukt/markenname/{id}" 2. The ServiceArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing ServiceArt entity should be loaded from the relative URL: "/MarkeService/serviceart/{id}" (HTTP-GET) If a new ServiceArt entity has been created, the new entity should be posted to the relative URL: "/MarkeService/serviceart" (HTTP-POST) If an existing ServiceArt entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/serviceart/{id}" (HTTP-PUT) If an existing ServiceArt entity has to be deleted, the following relative URL should be called: "/MarkeService/serviceart/{id}" (HTTP-DELETE) 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/serviceart/{id}" 3. The TankstelleServiceView must contain the following fields: - name: IstHauptservice type: BOOL - name: Notizen type: STRING - name: ServiceArt type: ServiceArt - 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 [ServiceArt] select control should be loaded from the relative URL: "/MarkeService/serviceart" (HTTP-GET) An existing TankstelleService entity should be loaded from the relative URL: "/MarkeService/tankstelleservice/{id}" (HTTP-GET) If a new TankstelleService entity has been created, the new entity should be posted to the relative URL: "/MarkeService/tankstelleservice" (HTTP-POST) If an existing TankstelleService entity has been updated, the modified entity should be sent to the relative URL: "/MarkeService/tankstelleservice/{id}" (HTTP-PUT) If an existing TankstelleService entity has to be deleted, the following relative URL should be called: "/MarkeService/tankstelleservice/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum