Example #1
0
        public AuditLog2 Get2()
        {
            AuditLog2 r        = new AuditLog2();
            string    response = r.Get();
            var       jdo      = JsonConvert.DeserializeObject(response);

            r = (AuditLog2)JsonConvert.DeserializeObject <AuditLog2>(jdo.ToString());
            return(r);
        }
Example #2
0
        public AuditLog2 Get2(string messageid, string contenttype)
        {
            string    url      = Constant.PIPUrl;
            AuditLog2 r        = new AuditLog2(messageid, url, contenttype);
            string    response = r.Get();
            var       jdo      = JsonConvert.DeserializeObject(response);

            r = (AuditLog2)JsonConvert.DeserializeObject <AuditLog2>(jdo.ToString());
            return(r);
        }