How to query all fax using faxquery2 method

4 posts / 0 new
Last post
#1 Thu, 1 Sep 2016 17:25
Anonymous (not verified)

How to query all fax using faxquery2 method

How to query all fax using faxquery2 method .

Fri, 2 Sep 2016 16:09
Eyal N

Hello,
One approach to retrieving the information for all faxes in your queue is submitting a max TID which is more than the highest transaction ID that you have in the queue. We usually recommend simply using 999999999 - this will retrieve the information on the top faxes in your queue.
Please note however that there is a limit of retrieving up to 100 faxes at a time using the FaxQuery2() method.

Alternatively, you may want to consider implementing our callback system for pushing outbound fax feedback to your API automatically. You can find out more about it at https://www.interfax.net/en/help/callback

Tue, 6 Sep 2016 16:16
bnadmin (not verified)

how to use 999999999 filter , I am using the bellow method ,

string username = "";
            string password = "";
            interfax.QueryForm queryForm = new interfax.QueryForm();
            queryForm.Subject = new interfax.QueryCondition
            {
              Verb = interfax.SQLOperatorEnum.Equals,
              VerbData = "999999999"
            };
            queryForm.FaxNumber = new interfax.QueryCondition {Verb = interfax.SQLOperatorEnum.Equals, VerbData = ""};
            queryForm.DateFrom = new DateTime(1980, 1, 1);
            queryForm.DateTo = new DateTime(2080, 1, 1);
            queryForm.UserID = new interfax.QueryCondition {Verb = interfax.SQLOperatorEnum.Equals, VerbData = ""};
            queryForm.ReplyAddress = new interfax.QueryCondition
            {
              Verb = interfax.SQLOperatorEnum.Equals,
              VerbData = "999999999"
            };
            queryForm.TransactionID = new interfax.QueryCondition
            {
              Verb = interfax.SQLOperatorEnum.Equals,
              VerbData = "999999999"
            };
            queryForm.ParentTransactionID = new interfax.QueryCondition {Verb = interfax.SQLOperatorEnum.Equals};
            queryForm.Status = new interfax.QueryCondition {Verb = interfax.SQLOperatorEnum.Equals, VerbData = "0"};
            queryForm.ShowHiddenTransactions = true;
            interfax.QueryControl queryControl = new interfax.QueryControl
            {
              OnlyParents = false,
              NumOfResults = 1,
              StartingRecord = 0,
              OrderBy = interfax.OrderByColumnEnum.TransactionID,
              AscOrderDirection = false,
              ReturnItems = true,
              ReturnStats = true
            };
            interfax.InterFax interfaxWebServiceOutbound = new interfax.InterFax();
            interfax.FaxQueryResult resultStatus = interfaxWebServiceOutbound.FaxQuery2(username, password, queryForm, queryControl);
Wed, 30 May 2018 03:38
aprilrussell (not verified)

Yes - absolutely. We can set you up to use our admin web service which allows you to manage all aspects of your account - including adding and removing users and opening and closing services.
run 3

Log in or register to post comments

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today