Microsoft CRM 2016 API版本自动发现 [英] microsoft crm 2016 api version auto-discovery

查看:92
本文介绍了Microsoft CRM 2016 API版本自动发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过PHP与CRM集成,并且使用了有效的API URL https://example.com/XYZ/api/data/v8.0/

I'm integrating with CRM through PHP and I use the API URL https://example.com/XYZ/api/data/v8.0/ which works well.

我的问题是,未来的CRM小型升级是否会破坏此URL?例如,如果将其升级到版本8.2, /XYZ/api/data/v8.0 / 将停止工作,而我将不得不通过我的PHP应用程序以某种方式自动发现它从那时起,将需要使用 /XYZ/api/data/v8.2 /

My question is, will a future minor upgrade of CRM break this URL? E.g if it is upgraded to version 8.2, will /XYZ/api/data/v8.0/ stop working and I'll have to somehow automatically discover this by my PHP app which will from that point onwards need to use /XYZ/api/data/v8.2/?

推荐答案

Microsoft发行API的新版本时,他们会更改版本号,例如 api / data / v8.2 ,但是早期版本仍将保留。 API版本管理的全部重点是能够引入新功能而不会破坏API的旧实现。

When Microsoft publishes a new version of the API, they'll bump the version number, say api/data/v8.2, but the earlier versions will still persist. The whole point of versioning APIs is to be able to introduce new functionality without breaking old implementations of the API.

最终,它们可能会弃用API的旧版本,但是我怀疑这将花费很长时间,并且您可能会收到某种警告。

Eventually though, they might deprecate old versions of the API, but I suspect this will take a long time, and you'll probably get some kind of warning.

在这里,您可以看到SDK版本的变更日志,并且您可以看到,到目前为止,没有一个版本可以停止使用。

Here you can see the changelog of the SDK versions, and as you can see, none of the versions have been discontinued as of now.

这篇关于Microsoft CRM 2016 API版本自动发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆