title: Request URL Too Long for fetchXml query types
body: <p>I'm using CRM 2016 web api with fetchxml query parameter, but my query is too long it's simulate the IN operator were the number of parameters passed in the IN list are 300 elements and some times will be more than that.</p>
  
  <p>So my problem is the query are too big for a GET HTTP Request. I have tried to send the query in the http message body but that didn't work so what is the solution for this problem?</p>
  
  <p>Here's a code snippet of the fetchxml query that I used:</p>
  
  <pre><code>&lt;fetch mapping="logical" distinct="true"&gt;
     &lt;entity name="entity"&gt;
        &lt;attribute name="new_classopportunityid" /&gt;
        &lt;attribute name="new_trainingproduct" /&gt;
        &lt;attribute name="new_gtgstatus" /&gt;
        &lt;attribute name="new_scheduledstartdate" /&gt;
        &lt;attribute name="new_scheduledenddate" /&gt;
        &lt;attribute name="new_remainingnumberofseats" /&gt;
        &lt;attribute name="new_liveclassroom" /&gt;
        &lt;attribute name="new_maxlive" /&gt;
        &lt;attribute name="new_xavieruniversity" /&gt;
        &lt;attribute name="new_partnerlive" /&gt;
        &lt;attribute name="new_blended" /&gt;
        &lt;filter&gt;
           &lt;condition attribute="new_classopportunityid" operator="in"&gt;
              &lt;value&gt;001943ea-e263-e611-8158-00155d002810&lt;/value&gt;
              &lt;value&gt;0071e4ea-bd9b-e611-8163-00155d002810&lt;/value&gt;
              &lt;value&gt;00c32774-1c8f-e611-8161-00155d002810&lt;/value&gt;
              &lt;value&gt;00d513fa-f0bb-e611-8169-00155d002810&lt;/value&gt;
              &lt;value&gt;....&lt;/value&gt;
              &lt;value&gt;....&lt;/value&gt;
              &lt;value&gt;....&lt;/value&gt;
           &lt;/condition&gt;
        &lt;/filter&gt;
     &lt;/entity&gt;
  &lt;/fetch&gt;
  </code></pre>
  
  <p>The CRM web api endpoint that I request is : </p>
  
  <pre><code> GET http://&lt;org&gt;/api/data/v8.0/&lt;entity&gt;?fetchXml=&lt;fetch mapping="logical" distinct="true"&gt;
         &lt;entity name="entity"&gt;
            &lt;attribute name="new_classopportunityid" /&gt;
            &lt;attribute name="new_trainingproduct" /&gt;
            &lt;attribute name="new_gtgstatus" /&gt;
            &lt;attribute name="new_scheduledstartdate" /&gt;
            &lt;attribute name="new_scheduledenddate" /&gt;
            &lt;attribute name="new_remainingnumberofseats" /&gt;
            &lt;attribute name="new_liveclassroom" /&gt;
            &lt;attribute name="new_maxlive" /&gt;
            &lt;attribute name="new_xavieruniversity" /&gt;
            &lt;attribute name="new_partnerlive" /&gt;
            &lt;attribute name="new_blended" /&gt;
            &lt;filter&gt;
               &lt;condition attribute="new_classopportunityid" operator="in"&gt;
                  &lt;value&gt;001943ea-e263-e611-8158-00155d002810&lt;/value&gt;
                  &lt;value&gt;0071e4ea-bd9b-e611-8163-00155d002810&lt;/value&gt;
                  &lt;value&gt;00c32774-1c8f-e611-8161-00155d002810&lt;/value&gt;
                  &lt;value&gt;00d513fa-f0bb-e611-8169-00155d002810&lt;/value&gt;
                  &lt;value&gt;....&lt;/value&gt;
                  &lt;value&gt;....&lt;/value&gt;
                  &lt;value&gt;....&lt;/value&gt;
               &lt;/condition&gt;
            &lt;/filter&gt;
         &lt;/entity&gt;
      &lt;/fetch&gt;
  </code></pre>
  
  <p>This is the response I got from the api. </p>
  
  <pre><code>Error code: 414: HTTP/1.1 414 Request-URI Too Long  Response :  "&lt;!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01\/\/EN\"\"http:\/\/www.w3.org\/TR\/html4\/strict.dtd\"&gt;\r\n&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Request URL Too Long&lt;\/TITLE&gt;\r\n&lt;META HTTP-EQUIV=\"Content-Type\" Content=\"text\/html; charset=us-ascii\"&gt;&lt;\/HEAD&gt;\r\n&lt;BODY&gt;&lt;h2&gt;Request URL Too Long&lt;\/h2&gt;\r\n&lt;hr&gt;&lt;p&gt;HTTP Error 414. The request URL is too long.&lt;\/p&gt;\r\n&lt;\/BODY&gt;&lt;\/HTML&gt;\r\n" [] []
  </code></pre>