Overview
Summary
Contact
Donate
Imprint
Prompt for the
ListingView
Please create a React-JS view called "ListingView" for the fields of the Listing entity. The ListingView must contain the following fields: - name: BuyNowPrice type: STRING - name: Category type: Category - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: ListingType type: STRING - name: LocationCountry type: STRING - name: LocationRegion type: STRING - name: QuantityAvailable type: LONG - name: SellerUserAccount type: UserAccount - name: StartDate type: DATE - name: StartPrice type: STRING - name: Status type: STRING - name: Title type: STRING The data source for the [Category] select control should be loaded from the relative URL: "/ListingService/category" (HTTP-GET) The data source for the [SellerUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Listing entity should be loaded from the relative URL: "/ListingService/listing/{id}" (HTTP-GET) If a new Listing entity has been created, the new entity should be posted to the relative URL: "/ListingService/listing" (HTTP-POST) If an existing Listing entity has been updated, the modified entity should be sent to the relative URL: "/ListingService/listing/{id}" (HTTP-PUT) If an existing Listing entity has to be deleted, the following relative URL should be called: "/ListingService/listing/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ListingMedia columns: - column: SortOrder - column: Url - column: MediaType - column: Listing - column: Caption The table should have the title "ListingMedias" und the data must be loaded from the server with the following relative URL: "/ListingService/listingmedia/listing/{id}" Add a HTML table to the view with the following FixedPriceOffer columns: - column: BuyerUserAccount - column: OfferDate - column: Currency - column: Listing - column: Status - column: OfferedPrice The table should have the title "FixedPriceOffers" und the data must be loaded from the server with the following relative URL: "/ListingService/fixedpriceoffer/listing/{id}" 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/listing/{id}" Add a HTML table to the view with the following Auction columns: - column: AutoExtendEnabled - column: Listing - column: MinimumBidIncrement - column: ReservePrice The table should have the title "Auctions" und the data must be loaded from the server with the following relative URL: "/AuctionService/auction/listing/{id}" Add a HTML table to the view with the following CharityAuctionListing columns: - column: CharityAuctionEvent - column: Listing The table should have the title "CharityAuctionListings" und the data must be loaded from the server with the following relative URL: "/ListingService/charityauctionlisting/listing/{id}" Add a HTML table to the view with the following CharityListing columns: - column: Notes - column: DonationAmountCap - column: DonationPercentage - column: CharityOrganization - column: Listing - column: CharityProgram The table should have the title "CharityListings" und the data must be loaded from the server with the following relative URL: "/CharityOrganizationService/charitylisting/listing/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint