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)

First Time Connecting to CRM OData

(0) ShareShare
ReportReport
Posted on by

Which version of OData does the CRM API utilize?

With which address do we attempt to download the Service Document to get descriptive information on the Collections available in the instance? 

https://<orgname>.api.crm.dynamics.com/api/data/v8.0/

...or the Discovery Service?...

https://disco.crm.dynamics.com/api/discovery/v8.0/

Is this truly OData or just 4 disparate CRUD calls via REST?

Would love to RTFM, but may we ask to have someone point us to which manual, which code example, which "recipe" will prove feasibility of our not-often-used-with-OData dev tool in the shortest time?

There's a wealth of information here, but would like to prove connectivity is possible before spending 1+ days reading all the associated documentation.

Thank you very much.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    You can start here - msdn.microsoft.com/.../mt593051.aspx

  • Community Member Profile Picture
    on at

    Which version of OData does the CRM API v2011 utilize?

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I believe it utilizes 2.0 version.

  • Community Member Profile Picture
    on at

    To All:

    Downloading the OData Metadata from our Customization Developer Resources page results in a file named "ODataV4Metadata.xml" which in its header contains "...<edmx:Edmx Version="4.0" xmlns:edmx="docs.oasis-open.org/.../edmx&quot;>..."

    Does this indicate OData v4 being implemented?

    Thank you.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    To JohnStrano:

    If you are talking about https://<orgname>.api.crm.dynamics.com/api/data/v8.0/ then answer - this endpoint implements OData 4.0

    If you are talking about https://<orgname>.api.crm.dynamics.com/XrmServices/2011/OrganizationData.svc - then 2.0

    You mentioned "Which version of OData does the CRM API v2011 utilize?" so I assumed that you meant old-style OrganizationData.svc which implements Odata 2.0

  • Community Member Profile Picture
    on at

    Interesting.

    The entry for Endpoint Address  on the Developer Resources page...

    https://<org>.api.crm.dynamics.com/XRMServices/2011/Organization.svc

    "...Organization.svc" not "...OrganizationData.svc"

    ...cites this as SOAP rather than REST/OData.

    If "...OrganizationData.svc" is for OData V2 (please confirm), it would have been more than helpful for that to be cited explicitly on the Resource page.

    Does MS offer an avenue for enhancement requests for Developer Resources?

  • Community Member Profile Picture
    on at

    I'm using POSTMAN to issue the GETs for...

    https://<org>.api.crm.dynamics.com/XRMServices/2011/OrganizationData.svc/

    I'm seeing a boatload of style data as well as substantial javascript.

    Is there a call/URI/endpoint that will return only the XML...well-formed?

    No DTD, no schema?

    Thank you.

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