public string GenCsv() { var genResultsTable = new GenResultsTable.Builder(Application.Client.Ticket, Application.Token, Application.Client.AccountDomain, TableId) .SetOptions("csv") .Build(); var xml = genResultsTable.Post().CreateNavigator(); return xml.SelectSingleNode("/response_data").Value; }
public string GenHtml(Query query, string options = "", string clist = "a") { var genResultsTable = new GenResultsTable.Builder(Application.Client.Ticket, Application.Token, Application.Client.AccountDomain, TableId) .SetQuery(query.ToString()) .SetOptions(options) .SetCList(clist) .Build(); var xml = genResultsTable.Post().CreateNavigator(); return xml.SelectSingleNode("/response_data").Value; }