/// <summary> /// Remove order from a job /// </summary> /// <param name="request"></param> public DeallocateOrderFromJobResponse DeallocateOrderFromJob(DeallocateOrderFromJobRequest request) { var response = GetResponse("OrderWorkflow/DeallocateOrderFromJob", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + ""); return(JsonFormatter.ConvertFromJson <DeallocateOrderFromJobResponse>(response)); }
public static DeallocateOrderFromJobResponse DeallocateOrderFromJob(DeallocateOrderFromJobRequest request, Guid ApiToken, String ApiServer) { return(Newtonsoft.Json.JsonConvert.DeserializeObject <DeallocateOrderFromJobResponse>(Factory.GetResponse("OrderWorkflow/DeallocateOrderFromJob", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore })); }
/// <summary> /// Remove order from a job /// </summary> /// <param name="request"></param> public DeallocateOrderFromJobResponse DeallocateOrderFromJob(DeallocateOrderFromJobRequest request) { var response = GetResponse("OrderWorkflow/DeallocateOrderFromJob", "request=" + JsonFormatter.ConvertToJson(request) + ""); return(JsonFormatter.ConvertFromJson <DeallocateOrderFromJobResponse>(response)); }