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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Query string options using OData

(0) ShareShare
ReportReport
Posted on by 828

Hi guys,

How to use the query string options defined  in OData protocol in Microsoft Dynamics CRM online or on-premises. any suggestions .

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ganeshm Profile Picture
    on at


    try this link,

    msdn.microsoft.com/.../gg309461(v=crm.7).aspx

  • Verified answer
    Alagunellaikumar Profile Picture
    6,212 on at

    Hi Ram,

    In Odata we can pass 6 types of option as the query string

    msdn.microsoft.com/.../gg309461(v=crm.7).aspx

    1)You have to first the get the organizationData url for that go to settings->Customization->Developer resource->Copy organization URL

    newtest16.api.crm8.dynamics.com/.../Organization.svc

    In which you have to change the url in to

    newtest16.api.crm8.dynamics.com/.../OrganizationData.svc

    2)After that URL, you have to give which entity name you have to search. That entity Name ends with Set

    Syntax

    newtest16.api.crm8.dynamics.com/.../EntityNameSet

    Eg

    newtest16.api.crm8.dynamics.com/.../AccountSet

    3)After that URL you can give any query string option provided in the above URL.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Ram Kumar,

    Please refer the link below.

    www.inogic.com/.../querying-data-in-microsoft-dynamics-crm-2016-using-web-api

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    Hi Alagu, Ram and Others,

    Please know that the examples Alagu is giving are for the old Rest endpoint. This endpoint has a deprecation status and will be removed in on of the future updates.

    Please use the new WebApi in stead: msdn.microsoft.com/.../mt593051.aspx

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans