Overview
Summary
Contact
Donate
Imprint
Prompt for the
ShoppingCartItemView
Please create a React-JS view called "ShoppingCartItemView" for the fields of the ShoppingCartItem entity. The ShoppingCartItemView must contain the following fields: - name: AddedAt type: DATE - name: Offer type: Offer - name: Quantity type: LONG - name: ShoppingCart type: ShoppingCart The data source for the [ShoppingCart] select control should be loaded from the relative URL: "/OfferService/shoppingcart" (HTTP-GET) The data source for the [Offer] select control should be loaded from the relative URL: "/OfferService/offer" (HTTP-GET) An existing ShoppingCartItem entity should be loaded from the relative URL: "/OfferService/shoppingcartitem/{id}" (HTTP-GET) If a new ShoppingCartItem entity has been created, the new entity should be posted to the relative URL: "/OfferService/shoppingcartitem" (HTTP-POST) If an existing ShoppingCartItem entity has been updated, the modified entity should be sent to the relative URL: "/OfferService/shoppingcartitem/{id}" (HTTP-PUT) If an existing ShoppingCartItem entity has to be deleted, the following relative URL should be called: "/OfferService/shoppingcartitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint