/// <summary> /// <para>Relist an item that has expired. Relists an item without modifying editable fields. /// </para><para> /// Relist copies all data from original listing and applies them to the new listing. /// The only exceptions are where there are default durations that are applied on relisted items. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument RelistItem(RelistListingRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.RelistItem(request); }
/// <summary> /// <para>Relist an item that has expired. Relists an item without modifying editable fields. /// </para><para> /// Relist copies all data from original listing and applies them to the new listing. /// The only exceptions are where there are default durations that are applied on relisted items. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument RelistItem(RelistListingRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.SELLING, Constants.RELIST, Constants.XML); return _connection.Post(request, query); }
/// <summary> /// <para>Relist an item that has expired. Relists an item without modifying editable fields. /// </para><para> /// Relist copies all data from original listing and applies them to the new listing. /// The only exceptions are where there are default durations that are applied on relisted items. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">The object that will be serialized into xml and then sent in a POST message.</param> /// <returns>XDocument: ListingResponse</returns> public XDocument RelistItem(RelistListingRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.SELLING, Constants.RELIST, Constants.XML); return(_connection.Post(request, query)); }