Overview
Summary
Contact
Donate
Imprint
Prompt for the
SalesChannelApp
Please create a React-JS application for the SalesChannelModule. The application has to offer the following views for the user interface: 1. AiPlatformView 2. ProductSalesChannelIntegrationView 3. SalesChannelView 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 AiPlatformView must contain the following fields: - name: Description type: STRING - name: Name type: STRING - name: ProviderCompany type: Company The data source for the [ProviderCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing AiPlatform entity should be loaded from the relative URL: "/SalesChannelService/aiplatform/{id}" (HTTP-GET) If a new AiPlatform entity has been created, the new entity should be posted to the relative URL: "/SalesChannelService/aiplatform" (HTTP-POST) If an existing AiPlatform entity has been updated, the modified entity should be sent to the relative URL: "/SalesChannelService/aiplatform/{id}" (HTTP-PUT) If an existing AiPlatform entity has to be deleted, the following relative URL should be called: "/SalesChannelService/aiplatform/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AiCommerceIntegration columns: - column: Notes - column: IntegrationType - column: LaunchDate - column: AiPlatform - column: Product The table should have the title "AiCommerceIntegrations" und the data must be loaded from the server with the following relative URL: "/ProductService/aicommerceintegration/aiplatform/{id}" 2. The ProductSalesChannelIntegrationView must contain the following fields: - name: EndDate type: DATE - name: IntegrationType type: STRING - name: LaunchDate type: DATE - name: Notes type: STRING - name: Product type: Product - name: SalesChannel type: SalesChannel The data source for the [SalesChannel] select control should be loaded from the relative URL: "/SalesChannelService/saleschannel" (HTTP-GET) The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing ProductSalesChannelIntegration entity should be loaded from the relative URL: "/SalesChannelService/productsaleschannelintegration/{id}" (HTTP-GET) If a new ProductSalesChannelIntegration entity has been created, the new entity should be posted to the relative URL: "/SalesChannelService/productsaleschannelintegration" (HTTP-POST) If an existing ProductSalesChannelIntegration entity has been updated, the modified entity should be sent to the relative URL: "/SalesChannelService/productsaleschannelintegration/{id}" (HTTP-PUT) If an existing ProductSalesChannelIntegration entity has to be deleted, the following relative URL should be called: "/SalesChannelService/productsaleschannelintegration/{id}" (HTTP-DELETE) 3. The SalesChannelView must contain the following fields: - name: ChannelType type: STRING - name: Description type: STRING - name: Name type: STRING An existing SalesChannel entity should be loaded from the relative URL: "/SalesChannelService/saleschannel/{id}" (HTTP-GET) If a new SalesChannel entity has been created, the new entity should be posted to the relative URL: "/SalesChannelService/saleschannel" (HTTP-POST) If an existing SalesChannel entity has been updated, the modified entity should be sent to the relative URL: "/SalesChannelService/saleschannel/{id}" (HTTP-PUT) If an existing SalesChannel entity has to be deleted, the following relative URL should be called: "/SalesChannelService/saleschannel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProductSalesChannelIntegration columns: - column: Notes - column: SalesChannel - column: EndDate - column: IntegrationType - column: Product - column: LaunchDate The table should have the title "ProductSalesChannelIntegrations" und the data must be loaded from the server with the following relative URL: "/SalesChannelService/productsaleschannelintegration/saleschannel/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint