/// <summary> /// Get job errors /// </summary> /// <param name="request"></param> public GetJobErrorsResponse GetJobErrors(GetJobErrorsRequest request) { var response = GetResponse("OrderWorkflow/GetJobErrors", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + ""); return(JsonFormatter.ConvertFromJson <GetJobErrorsResponse>(response)); }
public static GetJobErrorsResponse GetJobErrors(GetJobErrorsRequest request, Guid ApiToken, String ApiServer) { return(Newtonsoft.Json.JsonConvert.DeserializeObject <GetJobErrorsResponse>(Factory.GetResponse("OrderWorkflow/GetJobErrors", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore })); }
/// <summary> /// Get job errors /// </summary> /// <param name="request"></param> public GetJobErrorsResponse GetJobErrors(GetJobErrorsRequest request) { var response = GetResponse("OrderWorkflow/GetJobErrors", "request=" + JsonFormatter.ConvertToJson(request) + ""); return(JsonFormatter.ConvertFromJson <GetJobErrorsResponse>(response)); }