Overview
Summary
Contact
Donate
Imprint
Prompt for the
OrderItemView
Please create a React-JS view called "OrderItemView" for the fields of the OrderItem entity. The OrderItemView must contain the following fields: - name: Currency type: STRING - name: CustomerOrder type: INT - name: Product type: Product - name: Quantity type: INT - name: UnitPrice type: STRING The data source for the [Product] select control should be loaded from the relative URL: "/ProductService/product" (HTTP-GET) An existing OrderItem entity should be loaded from the relative URL: "/ProductService/orderitem/{id}" (HTTP-GET) If a new OrderItem entity has been created, the new entity should be posted to the relative URL: "/ProductService/orderitem" (HTTP-POST) If an existing OrderItem entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/orderitem/{id}" (HTTP-PUT) If an existing OrderItem entity has to be deleted, the following relative URL should be called: "/ProductService/orderitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint