web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Executing fetchXML with GET method

(0) ShareShare
ReportReport
Posted on by 2,510

Hi, I am trying to get data from get method with fetchxml, but I always get this error "The query parameter fetchxml is not supported",  I believe the fetchxml query is correct

crmurl/.../incidents;fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >
<entity name="incident" >
<attribute name="title" />
<attribute name="ticketnumber" />
<attribute name="createdon" />
<attribute name="incidentid" />
<attribute name="caseorigincode" />
<order attribute="title" descending="false" />
<filter type="and" >
<condition attribute="statecode" operator="eq" value="0" />
</filter>
</entity>
</fetch>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Please have a look below reference -

    www.c-sharpcorner.com/.../execute-fetchxml-with-webapi-in-dynamics-365-using-javascript

  • sdnd2000 Profile Picture
    2,510 on at

    that is exactly what I did.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    The query parameters are case sensitive. Try using "fetchXml" instead of "fetchxml". This will fix this issue.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans