Overview
Summary
Contact
Donate
Imprint
Prompt for the
WishlistView
Please create a React-JS view called "WishlistView" for the fields of the Wishlist entity. The WishlistView must contain the following fields: - name: CreatedAt type: DATE - name: Customer type: Customer - name: IsPublic type: BOOL - name: Name type: STRING - name: UpdatedAt type: DATE The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) An existing Wishlist entity should be loaded from the relative URL: "/WishlistService/wishlist/{id}" (HTTP-GET) If a new Wishlist entity has been created, the new entity should be posted to the relative URL: "/WishlistService/wishlist" (HTTP-POST) If an existing Wishlist entity has been updated, the modified entity should be sent to the relative URL: "/WishlistService/wishlist/{id}" (HTTP-PUT) If an existing Wishlist entity has to be deleted, the following relative URL should be called: "/WishlistService/wishlist/{id}" (HTTP-DELETE) 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/wishlist/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint