Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProductCategoryView
Please create a React-JS view called "ProductCategoryView" for the fields of the ProductCategory entity. The ProductCategoryView must contain the following fields: - name: Description type: STRING - name: Name type: STRING - name: ParentCategory type: LONG An existing ProductCategory entity should be loaded from the relative URL: "/ProductService/productcategory/{id}" (HTTP-GET) If a new ProductCategory entity has been created, the new entity should be posted to the relative URL: "/ProductService/productcategory" (HTTP-POST) If an existing ProductCategory entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/productcategory/{id}" (HTTP-PUT) If an existing ProductCategory entity has to be deleted, the following relative URL should be called: "/ProductService/productcategory/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Product columns: - column: ReviewsCount - column: Name - column: AverageRating - column: Description - column: Company - column: ProductCategory - column: Url The table should have the title "Products" und the data must be loaded from the server with the following relative URL: "/ProductService/product/productcategory/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint