Esempio n. 1
0
 public static List <OpenOrder> SplitOrder(Guid orderId, OrderSplit newOrders, String type, Guid fulfilmentLocationId, String ApiToken, String ApiServer)
 {
     return(Newtonsoft.Json.JsonConvert.DeserializeObject <List <OpenOrder> >(Factory.GetResponse("Orders/SplitOrder", "orderId=" + orderId + "&newOrders=" + Newtonsoft.Json.JsonConvert.SerializeObject(newOrders) + "&type=" + type + "&fulfilmentLocationId=" + fulfilmentLocationId + "", ApiToken, ApiServer), new JsonSerializerSettings {
             NullValueHandling = NullValueHandling.Ignore
         }));
 }
Esempio n. 2
0
 public static List<OpenOrder> SplitOrder(Guid orderId, OrderSplit newOrders, String type, Guid fulfilmentLocationId, String ApiToken, String ApiServer)
 {
     return Newtonsoft.Json.JsonConvert.DeserializeObject<List<OpenOrder>>(Factory.GetResponse("Orders/SplitOrder", "orderId=" + orderId + "&newOrders=" + Newtonsoft.Json.JsonConvert.SerializeObject(newOrders) + "&type=" + type + "&fulfilmentLocationId=" + fulfilmentLocationId + "", ApiToken, ApiServer), new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
 }