Example #1
0
        private bool sendToWms(Item item)
        {
            HttpClientLib httpClientLib = new HttpClientLib();
            var           result        = httpClientLib.PutXmlAsync <Item>("wms", "item", item).Result;

            return(result);
        }
        private bool sendToWms(Receipt receipt)
        {
            HttpClientLib httpClientLib = new HttpClientLib();
            var           result        = httpClientLib.PutXmlAsync <Receipt>("wms", "ReceiptPlan", receipt).Result;

            return(result);
        }
        private bool sendToWms(Order order)
        {
            HttpClientLib httpClientLib = new HttpClientLib();
            var           result        = httpClientLib.PutXmlAsync <Order>("wms", "Order", order).Result;

            return(result);
        }