Overview
Summary
Contact
Donate
Imprint
Prompt for the
CustomerView
Please create a React-JS view called "CustomerView" for the fields of the Customer entity. The CustomerView must contain the following fields: - name: CreatedAt type: DATE - name: DefaultBillingAddress type: LONG - name: DefaultShippingAddress type: LONG - name: Email type: STRING - name: FirstName type: STRING - name: IsActive type: BOOL - name: LastName type: STRING - name: PasswordHash type: STRING - name: UpdatedAt type: DATE An existing Customer entity should be loaded from the relative URL: "/CustomerService/customer/{id}" (HTTP-GET) If a new Customer entity has been created, the new entity should be posted to the relative URL: "/CustomerService/customer" (HTTP-POST) If an existing Customer entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/customer/{id}" (HTTP-PUT) If an existing Customer entity has to be deleted, the following relative URL should be called: "/CustomerService/customer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Question columns: - column: Title - column: CreatedAt - column: Body - column: Product - column: Customer The table should have the title "Questions" und the data must be loaded from the server with the following relative URL: "/ProductService/question/customer/{id}" Add a HTML table to the view with the following Answer columns: - column: Body - column: Customer - column: Question - column: CreatedAt - column: Seller The table should have the title "Answers" und the data must be loaded from the server with the following relative URL: "/ProductService/answer/customer/{id}" Add a HTML table to the view with the following PaymentTransaction columns: - column: Provider - column: Status - column: CreatedAt - column: CustomerOrder - column: Amount - column: PaymentMethod - column: UpdatedAt - column: Currency - column: ProviderReference The table should have the title "PaymentTransactions" und the data must be loaded from the server with the following relative URL: "/CustomerService/paymenttransaction/customerorder/{id}" Add a HTML table to the view with the following ReturnRequest columns: - column: CreatedAt - column: Reason - column: Status - column: Customer - column: UpdatedAt - column: CustomerOrder The table should have the title "ReturnRequests" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/returnrequest/customer/{id}" Add a HTML table to the view with the following ReturnRequest columns: - column: CreatedAt - column: Reason - column: Status - column: Customer - column: UpdatedAt - column: CustomerOrder The table should have the title "ReturnRequests" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/returnrequest/customerorder/{id}" Add a HTML table to the view with the following BrowseEvent columns: - column: OccurredAt - column: UserAgent - column: SessionId - column: EventType - column: IpAddress - column: Product - column: Customer - column: Offer The table should have the title "BrowseEvents" und the data must be loaded from the server with the following relative URL: "/ProductService/browseevent/customer/{id}" Add a HTML table to the view with the following ShoppingCart columns: - column: Customer - column: CreatedAt - column: UpdatedAt The table should have the title "ShoppingCarts" und the data must be loaded from the server with the following relative URL: "/OfferService/shoppingcart/customer/{id}" Add a HTML table to the view with the following Review columns: - column: Body - column: IsVerifiedPurchase - column: Customer - column: Rating - column: UpdatedAt - column: Product - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/CustomerService/review/customer/{id}" Add a HTML table to the view with the following Wishlist columns: - column: IsPublic - column: Customer - column: Name - column: UpdatedAt - column: CreatedAt The table should have the title "Wishlists" und the data must be loaded from the server with the following relative URL: "/WishlistService/wishlist/customer/{id}" Add a HTML table to the view with the following PaymentMethod columns: - column: UpdatedAt - column: BillingAddress - column: Type - column: MaskedNumber - column: IsDefault - column: ExpiryMonth - column: ExpiryYear - column: Customer - column: HolderName - column: CreatedAt The table should have the title "PaymentMethods" und the data must be loaded from the server with the following relative URL: "/CustomerService/paymentmethod/customer/{id}" Add a HTML table to the view with the following Shipment columns: - column: Status - column: CustomerOrder - column: ShippedAt - column: CreatedAt - column: Carrier - column: DeliveredAt - column: TrackingNumber - column: FulfillmentCenter The table should have the title "Shipments" und the data must be loaded from the server with the following relative URL: "/FulfillmentCenterService/shipment/customerorder/{id}" Add a HTML table to the view with the following OrderItem columns: - column: Offer - column: LineTotal - column: UnitPrice - column: Quantity - column: DiscountAmount - column: ProductTitle - column: CustomerOrder - column: TaxAmount The table should have the title "OrderItems" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/orderitem/customerorder/{id}" Add a HTML table to the view with the following ReviewComment columns: - column: Body - column: CreatedAt - column: Review - column: Customer The table should have the title "ReviewComments" und the data must be loaded from the server with the following relative URL: "/CustomerService/reviewcomment/customer/{id}" Add a HTML table to the view with the following CustomerOrder columns: - column: TotalItemsAmount - column: Customer - column: TotalDiscountAmount - column: PaymentMethod - column: BillingAddress - column: OrderNumber - column: ShippingAddress - column: GrandTotal - column: PlacedAt - column: Currency - column: Status - column: TotalTaxAmount - column: TotalShippingAmount The table should have the title "CustomerOrders" und the data must be loaded from the server with the following relative URL: "/CustomerService/customerorder/customer/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint