Overview
Summary
Contact
Donate
Imprint
Prompt for the
OrderEntityView
Please create a React-JS view called "OrderEntityView" for the fields of the OrderEntity entity. The OrderEntityView must contain the following fields: - name: BuyerUserAccount type: UserAccount - name: Currency type: STRING - name: OrderDate type: DATE - name: SourceChannel type: STRING - name: Status type: STRING - name: TotalAmount type: STRING The data source for the [BuyerUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing OrderEntity entity should be loaded from the relative URL: "/UserAccountService/orderentity/{id}" (HTTP-GET) If a new OrderEntity entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/orderentity" (HTTP-POST) If an existing OrderEntity entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/orderentity/{id}" (HTTP-PUT) If an existing OrderEntity entity has to be deleted, the following relative URL should be called: "/UserAccountService/orderentity/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OrderItem columns: - column: Quantity - column: Currency - column: SellerUserAccount - column: FulfillmentStatus - column: UnitPrice - column: Listing - column: OrderEntity The table should have the title "OrderItems" und the data must be loaded from the server with the following relative URL: "/UserAccountService/orderitem/orderentity/{id}" Add a HTML table to the view with the following Payment columns: - column: PaymentDate - column: PaymentProvider - column: Currency - column: Status - column: OrderEntity - column: Amount - column: TransactionReference The table should have the title "Payments" und the data must be loaded from the server with the following relative URL: "/UserAccountService/payment/orderentity/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint