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 365 | Integration, Dataverse...
Answered

Get API version supported by MS CRM account using rest call

(0) ShareShare
ReportReport
Posted on by 45

How to get which API version will be supported for rest calls to CRM account? I checked that RetrieveVersion() returns server version let say 9.1.0.16541,  but does this mean we can send further get and post calls to CRM account with v9.1 API version:

For example:

https://<MS CRM url>/api/data/v9.1

here v9.1 is supported by my account but in general how to get this API_VERSION using get call from account? 

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Yes, since your D365 version is 9.1, you need to use 9.1 API version.

    And you could also get the version in Settings->Customizations->Developer Resource

    pastedimage1588924458098v1.png

    Regards,

    Leo

  • User KS Profile Picture
    45 on at

    actually I am asking for something which might help me get this version through a rest get call instead of going to my account and checking

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Thanks for your reply, so since you could get the instance version by "GET {ServiceUrl}/api/v1.2/Instances/{id}", and if the version is 9.0xxxxx, then you need to use 9.0, if the version is 9.1xxxx, so you need to use 9.1.

    Regards,

    Leo

  • User KS Profile Picture
    45 on at

    this vesion is server version right? If I call retrieveVersion() the value returned is basically this ?

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Yes, and if you want to splice it directly in your code, you need to get the one decimal place as format "9.X", here "X" could be 0 or 1, it is based on your version.

    Regards,

    Leo

  • User KS Profile Picture
    45 on at

    Okay got it, thanks for confirmation.

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    If my answer helped you, please mark my answer as verified so that we could help other users with similar issues.

    pastedimage1589190618259v1.png

    Regards,

    Leo

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 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans