Example #1
0
 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;
 }
Example #2
0
 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;
 }