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 })); }
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 }); }