/// <summary> /// <para>List a DVD using listing details that are sourced from the Trade Me DVD catalogue. /// </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 SellDvdFromCatalogue(SellCatalogueRequest request) { if (_selling == null) { _selling = new SellingMethods(_connection); } return _selling.SellDvdFromCatalogue(request); }
/// <summary> /// <para>List a DVD using listing details that are sourced from the Trade Me DVD catalogue. /// </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 SellDvdFromCatalogue(SellCatalogueRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.SELLING, Constants.SELLCATALOGUEDVD, Constants.XML); return _connection.Post(request, query); }
/// <summary> /// <para>List a Blu-ray disc using listing details that are sourced from the Trade Me Blu-ray catalogue. /// </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 SellBluRayFromCatalogue(SellCatalogueRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.SELLING, Constants.SELLCATALOGUEBLURAY, Constants.XML); return(_connection.Post(request, query)); }