Overview
Summary
Contact
Donate
Imprint
Prompt for the
SellerView
Please create a React-JS view called "SellerView" for the fields of the Seller entity. The SellerView must contain the following fields: - name: CreatedAt type: DATE - name: DefaultAddress type: LONG - name: Email type: STRING - name: IsActive type: BOOL - name: LegalName type: STRING - name: Name type: STRING - name: Phone type: STRING - name: UpdatedAt type: DATE An existing Seller entity should be loaded from the relative URL: "/ProductService/seller/{id}" (HTTP-GET) If a new Seller entity has been created, the new entity should be posted to the relative URL: "/ProductService/seller" (HTTP-POST) If an existing Seller entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/seller/{id}" (HTTP-PUT) If an existing Seller entity has to be deleted, the following relative URL should be called: "/ProductService/seller/{id}" (HTTP-DELETE) 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/seller/{id}" Add a HTML table to the view with the following Offer columns: - column: Seller - column: IsActive - column: UpdatedAt - column: IsPrimeEligible - column: Currency - column: SkuSeller - column: Product - column: Condition - column: Price - column: CreatedAt The table should have the title "Offers" und the data must be loaded from the server with the following relative URL: "/OfferService/offer/seller/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint