Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VertriebskanalApp
Please create a React-JS application for the VertriebskanalModule. The application has to offer the following views for the user interface: 1. ProduktVertriebskanalView 2. VertriebskanalView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The ProduktVertriebskanalView must contain the following fields: - name: Produkt type: Produkt - name: Vertriebskanal type: Vertriebskanal The data source for the [Produkt] select control should be loaded from the relative URL: "/MarktsegmentService/produkt" (HTTP-GET) The data source for the [Vertriebskanal] select control should be loaded from the relative URL: "/VertriebskanalService/vertriebskanal" (HTTP-GET) An existing ProduktVertriebskanal entity should be loaded from the relative URL: "/VertriebskanalService/produktvertriebskanal/{id}" (HTTP-GET) If a new ProduktVertriebskanal entity has been created, the new entity should be posted to the relative URL: "/VertriebskanalService/produktvertriebskanal" (HTTP-POST) If an existing ProduktVertriebskanal entity has been updated, the modified entity should be sent to the relative URL: "/VertriebskanalService/produktvertriebskanal/{id}" (HTTP-PUT) If an existing ProduktVertriebskanal entity has to be deleted, the following relative URL should be called: "/VertriebskanalService/produktvertriebskanal/{id}" (HTTP-DELETE) 2. The VertriebskanalView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Vertriebskanal entity should be loaded from the relative URL: "/VertriebskanalService/vertriebskanal/{id}" (HTTP-GET) If a new Vertriebskanal entity has been created, the new entity should be posted to the relative URL: "/VertriebskanalService/vertriebskanal" (HTTP-POST) If an existing Vertriebskanal entity has been updated, the modified entity should be sent to the relative URL: "/VertriebskanalService/vertriebskanal/{id}" (HTTP-PUT) If an existing Vertriebskanal entity has to be deleted, the following relative URL should be called: "/VertriebskanalService/vertriebskanal/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProduktVertriebskanal columns: - column: Vertriebskanal - column: Produkt The table should have the title "ProduktVertriebskanals" und the data must be loaded from the server with the following relative URL: "/VertriebskanalService/produktvertriebskanal/vertriebskanal/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum