private XPathDocument GetApplicationSchema(string username, string password, string accountDomain)
        {
            var signin = new Authenticate(username, password, accountDomain, 1);
            var xml = signin.Post().CreateNavigator();
            var adminTicket = xml.SelectSingleNode("/qdbapi/ticket").Value;

            var appSchema = new GetSchema(adminTicket, Token, accountDomain, ApplicationId);
            var xmlSchema = appSchema.Post();

            var signout = new SignOut(accountDomain);
            signout.Post();

            return xmlSchema;
        }
Example #2
0
 public XPathDocument GetTableSchema()
 {
     var tblSchema = new GetSchema(Application.Client.Ticket, Application.Token, Application.Client.AccountDomain, TableId);
     return tblSchema.Post();
 }