Overview
Summary
Contact
Donate
Imprint
Prompt for the
CategoryView
Please create a React-JS view called "CategoryView" for the fields of the Category entity. The CategoryView must contain the following fields: - name: Description type: STRING - name: Name type: STRING - name: ParentCategory type: LONG An existing Category entity should be loaded from the relative URL: "/ListingService/category/{id}" (HTTP-GET) If a new Category entity has been created, the new entity should be posted to the relative URL: "/ListingService/category" (HTTP-POST) If an existing Category entity has been updated, the modified entity should be sent to the relative URL: "/ListingService/category/{id}" (HTTP-PUT) If an existing Category entity has to be deleted, the following relative URL should be called: "/ListingService/category/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Listing columns: - column: BuyNowPrice - column: ListingType - column: StartPrice - column: SellerUserAccount - column: LocationCountry - column: Category - column: QuantityAvailable - column: Currency - column: StartDate - column: EndDate - column: Status - column: Title - column: Description - column: LocationRegion The table should have the title "Listings" und the data must be loaded from the server with the following relative URL: "/ListingService/listing/category/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint