public TemplatesCollection GetTemplates(int?offset = null, int?count = null, TemplatesInstance filter = null) { return(MakeAPICall <TemplatesCollection>("templates", Method.GET, null, offset, count, filter)); }
/// <summary> /// Get templates with just the id and name properties filled /// </summary> /// <param name="offset"></param> /// <param name="count"></param> /// <param name="filter"></param> /// <returns></returns> public TemplatesCollection GetTemplatesLight(int?offset = null, int?count = null, TemplatesInstance filter = null) { try { return(MakeAPICall <TemplatesCollection>("templates", Method.GET, null, offset, count, filter, new List <string> { "templates.id", "templates.name" })); } catch (Exception ex) { return(null); } }