Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
 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
     }));
 }
Ejemplo n.º 3
0
        /// <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));
        }