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: FulfillmentStatus type: STRING - name: Listing type: Listing - name: OrderEntity type: OrderEntity - name: Quantity type: LONG - name: SellerUserAccount type: UserAccount - name: UnitPrice type: STRING The data source for the [OrderEntity] select control should be loaded from the relative URL: "/UserAccountService/orderentity" (HTTP-GET) The data source for the [Listing] select control should be loaded from the relative URL: "/ListingService/listing" (HTTP-GET) The data source for the [SellerUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing OrderItem entity should be loaded from the relative URL: "/UserAccountService/orderitem/{id}" (HTTP-GET) If a new OrderItem entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/orderitem" (HTTP-POST) If an existing OrderItem entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/orderitem/{id}" (HTTP-PUT) If an existing OrderItem entity has to be deleted, the following relative URL should be called: "/UserAccountService/orderitem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ShippingDetail columns: - column: ServiceLevel - column: Carrier - column: ActualDeliveryDate - column: ShippingCost - column: TrackingNumber - column: EstimatedDeliveryDate - column: Currency - column: OrderItem - column: ShipDate The table should have the title "ShippingDetails" und the data must be loaded from the server with the following relative URL: "/UserAccountService/shippingdetail/orderitem/{id}" Add a HTML table to the view with the following Dispute columns: - column: DisputeType - column: OpenedByUserAccount - column: CloseDate - column: Resolution - column: OpenDate - column: OrderItem - column: Description - column: Status The table should have the title "Disputes" und the data must be loaded from the server with the following relative URL: "/DisputeService/dispute/orderitem/{id}" Add a HTML table to the view with the following Feedback columns: - column: ToUserAccount - column: Comment - column: FeedbackDate - column: Rating - column: FromUserAccount - column: OrderItem The table should have the title "Feedbacks" und the data must be loaded from the server with the following relative URL: "/UserAccountService/feedback/orderitem/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint