Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Query string options using OData

Posted on by 826

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

  • Suggested answer
    M.T. Eikelenboom Profile Picture
    M.T. Eikelenboom 5,241 on at
    RE: Query string options using OData

    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

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Query string options using OData

    Hi Ram Kumar,

    Please refer the link below.

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

  • Verified answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: Query string options using OData

    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
    ganeshm Profile Picture
    ganeshm on at
    RE: Query string options using OData


    try this link,

    msdn.microsoft.com/.../gg309461(v=crm.7).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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans