Overview
Summary
Contact
Donate
Imprint
Prompt for the
CustomerOrderView
Please create a React-JS view called "CustomerOrderView" for the fields of the CustomerOrder entity. The CustomerOrderView must contain the following fields: - name: BillingAddress type: LONG - name: Currency type: STRING - name: Customer type: Customer - name: GrandTotal type: DOUBLE - name: OrderNumber type: STRING - name: PaymentMethod type: PaymentMethod - name: PlacedAt type: DATE - name: ShippingAddress type: LONG - name: Status type: STRING - name: TotalDiscountAmount type: DOUBLE - name: TotalItemsAmount type: DOUBLE - name: TotalShippingAmount type: DOUBLE - name: TotalTaxAmount type: DOUBLE The data source for the [Customer] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/CustomerService/paymentmethod" (HTTP-GET) An existing CustomerOrder entity should be loaded from the relative URL: "/CustomerService/customerorder/{id}" (HTTP-GET) If a new CustomerOrder entity has been created, the new entity should be posted to the relative URL: "/CustomerService/customerorder" (HTTP-POST) If an existing CustomerOrder entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/customerorder/{id}" (HTTP-PUT) If an existing CustomerOrder entity has to be deleted, the following relative URL should be called: "/CustomerService/customerorder/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint