예제 #1
0
        /// <summary>
        /// Updates the listing data specified in ListingUpdatableData of the ListingUpdate object
        /// </summary>
        /// <param name="listingUpdate"></param>
        /// <returns>ListingResu</returns>
        public async Task <Response <ListingResults> > UpdateListingDataAsync(ListingUpdate listingUpdate)
        {
            var builder = new UriBuilder($"listings/{listingUpdate.MoxWorksListingId}")
                          .AddQueryParameter("moxi_works_company_id", listingUpdate.MoxiWorksCompanyId);



            return(await Client.PutRequestAsync <ListingResults, ListingUpdate>(builder.GetUrl(), listingUpdate));
        }
예제 #2
0
 public async Task <Response <ListingResults> > UpdateListingData(ListingUpdate listingUpdate)
 {
     return(await UpdateListingDataAsync(listingUpdate));
 }