Esempio n. 1
0
        /// <summary>
        /// Get job audit trail
        /// </summary>
        /// <param name="request">Request class</param>
        /// <returns>List of audit trail rows</returns>
        public GetJobAuditResponse GetJobAudit(GetJobAuditRequest request)
        {
            var response = GetResponse("OrderWorkflow/GetJobAudit", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + "");

            return(JsonFormatter.ConvertFromJson <GetJobAuditResponse>(response));
        }
Esempio n. 2
0
 public static GetJobAuditResponse GetJobAudit(GetJobAuditRequest request, Guid ApiToken, String ApiServer)
 {
     return(Newtonsoft.Json.JsonConvert.DeserializeObject <GetJobAuditResponse>(Factory.GetResponse("OrderWorkflow/GetJobAudit", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings {
         NullValueHandling = NullValueHandling.Ignore
     }));
 }
Esempio n. 3
0
        /// <summary>
        /// Get job audit trail
        /// </summary>
        /// <param name="request">Request class</param>
        /// <returns>List of audit trail rows</returns>
        public GetJobAuditResponse GetJobAudit(GetJobAuditRequest request)
        {
            var response = GetResponse("OrderWorkflow/GetJobAudit", "request=" + JsonFormatter.ConvertToJson(request) + "");

            return(JsonFormatter.ConvertFromJson <GetJobAuditResponse>(response));
        }