【发布时间】:2019-01-03 17:49:58
【问题描述】:
是否可以计算给定实体中的所有行,绕过 5000 行限制并绕过页面大小限制?
我不想在一个请求中返回超过 5000 行,而只想计算给定实体中所有行的计数。
根据微软的说法,你不能在请求 URI 中这样做:
The count value does not represent the total number of entities in the system.
It is limited by the maximum number of entities that can be returned.
我试过这个:
GET [Organization URI]/api/data/v9.0/accounts/?$count=true
还有其他方法吗?
【问题讨论】:
-
嗯。这实际上并没有回答我的问题。我只是想数他们,有没有办法通过URI来做呢。
-
这就是探索的想法,你最终会得到 5k 限制或 50k 限制 fetchxml..hihaj.com/…
-
啊哈。我是否将 fetch XML 放在 URI 中?
标签: odata dynamics-crm dynamics-crm-online dynamics-crm-365 dynamics-crm-webapi