Beispiel #1
0
 public void Run(Newegg.Oversea.Framework.JobConsole.Client.JobContext context)
 {
     string           baseUrl = System.Configuration.ConfigurationManager.AppSettings["RestFulBaseUrl"];
     RestClient       client  = new RestClient(baseUrl);
     RestServiceError error;
     string           companyCode = "8601";
     var ar = client.Update("/MKTService/Job/BatchUpdateKeywordsFromQueue", companyCode, out error);
 }
Beispiel #2
0
        public void Run(Newegg.Oversea.Framework.JobConsole.Client.JobContext context)
        {
            string           baseUrl = System.Configuration.ConfigurationManager.AppSettings["RestFulBaseUrl"];
            RestClient       client  = new RestClient(baseUrl);
            RestServiceError error;

            ECCentral.BizEntity.IM.ProductInfo product = new ECCentral.BizEntity.IM.ProductInfo();
            product.CompanyCode = "8601";
            product.SysNo       = 4234534;
            var ar = client.Update("/MKTService/Job/BatchUpdateKeywordsFromQueue", product, out error);
        }