Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9285849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:16:11+00:00 2026-06-18T19:16:11+00:00

How do we filter out Jobs from a CustomerQuery with IPP .NET (QuickBooks Online)?

  • 0

How do we filter out Jobs from a CustomerQuery with IPP .NET (QuickBooks Online)?

See this thread for reference (it seems unresolved?):
https://idnforums.intuit.com/messageview.aspx?catid=87&threadid=16282

Below are the relevant lines that should exlude Jobs, but it isn’t working…

Dim cq As New Qbo.CustomerQuery
cq.IncludeJobs = False
customers = cq.ExecuteQuery(Of Qbo.Customer)(context).ToList()

Thanks,
Kyle

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T19:16:12+00:00Added an answer on June 18, 2026 at 7:16 pm

    This is a bug in the DevKit. It does not pass the IncludeJobs filter in the request body.

    It will be fixed in the next release, but here is a workaround using DevDefined.

    IEnumerable<Customer> customers = GetQboCustomers(dataService, 1, 100, false);
    
    public List<Intuit.Ipp.Data.Qbo.Customer> GetQboCustomers(DataServices dataServices, int startPage, int resultsPerPage, bool includeJobs)
    {
        StringBuilder requestXML = new StringBuilder();
        StringBuilder responseXML = new StringBuilder();
    
        var requestBody = String.Format("PageNum={0}&ResultsPerPage={1}", startPage, resultsPerPage);
        if (!includeJobs) { requestBody += "&Filter=IncludeJobs :EQUALS: false"; }
    
        HttpWebRequest httpWebRequest = WebRequest.Create(dataServices.ServiceContext.BaseUrl + "customers/v2/" + dataServices.ServiceContext.RealmId) as HttpWebRequest;
        httpWebRequest.Method = "POST";
        httpWebRequest.ContentType = "application/x-www-form-urlencoded";
        httpWebRequest.Headers.Add("Authorization", GetDevDefinedOAuthHeader(httpWebRequest, requestBody));
        requestXML.Append(requestBody);
        UTF8Encoding encoding = new UTF8Encoding();
        byte[] content = encoding.GetBytes(requestXML.ToString());
        using (var stream = httpWebRequest.GetRequestStream())
        {
            stream.Write(content, 0, content.Length);
        }
        HttpWebResponse httpWebResponse = httpWebRequest.GetResponse() as HttpWebResponse;
        using (Stream data = httpWebResponse.GetResponseStream())
        {
            Intuit.Ipp.Data.Qbo.SearchResults searchResults = (Intuit.Ipp.Data.Qbo.SearchResults)dataServices.ServiceContext.Serializer.Deserialize<Intuit.Ipp.Data.Qbo.SearchResults>(new StreamReader(data).ReadToEnd());
            return ((Intuit.Ipp.Data.Qbo.Customers)searchResults.CdmCollections).Customer.ToList();
        }
    
    }
    
    protected string GetDevDefinedOAuthHeader(HttpWebRequest webRequest, string requestBody)
    {
    
        OAuthConsumerContext consumerContext = new OAuthConsumerContext
        {
            ConsumerKey = consumerKey,
            ConsumerSecret = consumerSecret,
            SignatureMethod = SignatureMethod.HmacSha1,
            UseHeaderForOAuthParameters = true
    
        };
    
        consumerContext.UseHeaderForOAuthParameters = true;
    
        //URIs not used
        OAuthSession oSession = new OAuthSession(consumerContext, "https://www.example.com",
                                "https://www.example.com",
                                "https://www.example.com");
    
    
        oSession.AccessToken = new TokenBase
        {
            Token = accessToken,
            ConsumerKey = consumerKey,
            TokenSecret = accessTokenSecret
        };
    
        IConsumerRequest consumerRequest = oSession.Request();
        consumerRequest = ConsumerRequestExtensions.ForMethod(consumerRequest, webRequest.Method);
        consumerRequest = ConsumerRequestExtensions.ForUri(consumerRequest, webRequest.RequestUri);
        if (webRequest.Headers.Count > 0)
        {
            ConsumerRequestExtensions.AlterContext(consumerRequest, context => context.Headers = webRequest.Headers);
            if (webRequest.Headers[HttpRequestHeader.ContentType] == "application/x-www-form-urlencoded")
            {
                Dictionary<string, string> formParameters = new Dictionary<string, string>();
                foreach (string formParameter in requestBody.Split('&'))
                {
                    formParameters.Add(formParameter.Split('=')[0], formParameter.Split('=')[1]);
                }
                consumerRequest = consumerRequest.WithFormParameters(formParameters);
            }
        }
    
        consumerRequest = consumerRequest.SignWithToken();
        return consumerRequest.Context.GenerateOAuthParametersForHeader();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This regex comes from Atwood and is used to filter out anchor tags with
I want to filter out certain lines from stack traces using log4j (like net.sf.cglib.*
I am trying to filter out invalid url from valid ones using .NET. I
I have to filter out certain elements from an array in javascript and thought
I am writing a simple program to filter out stock quotes from a given
I want to filter out duplicate customer names from a database. A single customer
I have created a simple class to filter out data from a data stream.
I was trying to filter out non-valid characters from xml. Although I have successfully
I am trying to filter out the noise from the orientation/compass sensor in my
I'm trying to filter out all possibilities of XSS from user name input while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.