Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProductView
Please create a React-JS view called "ProductView" for the fields of the Product entity. The ProductView must contain the following fields: - name: Brand type: Brand - name: CreatedAt type: DATE - name: Description type: STRING - name: IsActive type: BOOL - name: Sku type: STRING - name: Title type: STRING - name: UpdatedAt type: DATE The data source for the [Brand] select control should be loaded from the relative URL: "/ProductService/brand" (HTTP-GET) An existing Product entity should be loaded from the relative URL: "/ProductService/product/{id}" (HTTP-GET) If a new Product entity has been created, the new entity should be posted to the relative URL: "/ProductService/product" (HTTP-POST) If an existing Product entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/product/{id}" (HTTP-PUT) If an existing Product entity has to be deleted, the following relative URL should be called: "/ProductService/product/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Question columns: - column: Title - column: CreatedAt - column: Body - column: Product - column: Customer The table should have the title "Questions" und the data must be loaded from the server with the following relative URL: "/ProductService/question/product/{id}" Add a HTML table to the view with the following WishlistItem columns: - column: AddedAt - column: Wishlist - column: Product The table should have the title "WishlistItems" und the data must be loaded from the server with the following relative URL: "/WishlistService/wishlistitem/product/{id}" Add a HTML table to the view with the following OrderItem columns: - column: Offer - column: LineTotal - column: UnitPrice - column: Quantity - column: DiscountAmount - column: ProductTitle - column: CustomerOrder - column: TaxAmount The table should have the title "OrderItems" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/orderitem/producttitle/{id}" Add a HTML table to the view with the following Offer columns: - column: Seller - column: IsActive - column: UpdatedAt - column: IsPrimeEligible - column: Currency - column: SkuSeller - column: Product - column: Condition - column: Price - column: CreatedAt The table should have the title "Offers" und the data must be loaded from the server with the following relative URL: "/OfferService/offer/product/{id}" Add a HTML table to the view with the following BrowseEvent columns: - column: OccurredAt - column: UserAgent - column: SessionId - column: EventType - column: IpAddress - column: Product - column: Customer - column: Offer The table should have the title "BrowseEvents" und the data must be loaded from the server with the following relative URL: "/ProductService/browseevent/product/{id}" Add a HTML table to the view with the following ProductImage columns: - column: AltText - column: SortOrder - column: CreatedAt - column: IsMain - column: Product - column: Url The table should have the title "ProductImages" und the data must be loaded from the server with the following relative URL: "/WishlistService/productimage/product/{id}" Add a HTML table to the view with the following ProductAttributeValue columns: - column: ProductAttribute - column: Product - column: ValueNumber - column: ValueBoolean - column: ValueString The table should have the title "ProductAttributeValues" und the data must be loaded from the server with the following relative URL: "/PromotionService/productattributevalue/productattribute/{id}" Add a HTML table to the view with the following ProductAttributeValue columns: - column: ProductAttribute - column: Product - column: ValueNumber - column: ValueBoolean - column: ValueString The table should have the title "ProductAttributeValues" und the data must be loaded from the server with the following relative URL: "/PromotionService/productattributevalue/product/{id}" Add a HTML table to the view with the following ProductCategory columns: - column: Category - column: IsPrimary - column: Product The table should have the title "ProductCategorys" und the data must be loaded from the server with the following relative URL: "/CategoryService/productcategory/product/{id}" Add a HTML table to the view with the following PromotionProduct columns: - column: Product - column: Promotion The table should have the title "PromotionProducts" und the data must be loaded from the server with the following relative URL: "/PromotionService/promotionproduct/product/{id}" Add a HTML table to the view with the following Review columns: - column: Body - column: IsVerifiedPurchase - column: Customer - column: Rating - column: UpdatedAt - column: Product - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/CustomerService/review/product/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint