private List <GetRecordResult> BaseGetResultNormalize(ZohoResult result)
        {
            if (result == null)
            {
                throw new Exception("Null object returned from Zoho server");
            }

            if (result.Error != null)
            {
                throw new Exception(string.Format("{0}:{1}", result.Error.Code, result.Error.Message));
            }

            return((result.Nodata != null || IsNullOrEmpty(result.Result)) ? new List <GetRecordResult>() : GetList <GetRecordResult>(result.Result.First.First.First.First));
        }
        private ZohoInsertResult BasePostResultNormalize(ZohoResult result)
        {
            if (result == null)
            {
                throw new Exception("Null object returned from Zoho server");
            }

            if (result.Error != null)
            {
                throw new Exception(string.Format("{0}:{1}", result.Error.Code, result.Error.Message));
            }

            if (result.Result == null)
            {
                throw new Exception(string.Format("{0}", "Zohho result object is null"));
            }

            return(result.Result.ToObject <ZohoInsertResult>());
        }