技术文章 - CS294238
在 Windchill PDMLink 中使用 WRS (Windchill REST 服务,OData) API (应用程序接口) 时,如果总数超过 2000 条,则不会返回所有记录
已修改: 25-Sep-2024
适用于
- Windchill PDMLink 11.0 to 13.0
- Windchill REST Services (WRS) 1.5 - 2.6
说明
- 不考虑 $top 参数
- 即使 $top 设置为不同的值,也始终会显示 25 个元素
- 如何向所有 ODataConnector 路由服务添加自定义标头“首选”
- 使用Windchill/servlet/odata/ProdMgmt/Parts('VR:wt.part.WTPart:xxxxx')/Uses获取零件 bom 时仅返回 25 个元素
- 使用Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:xxxxx')/DescribedBy获取描述链接时仅返回 25 个元素
- 使用 WRS API ( Windchill/servlet/odata/v4/PrincipalMgmt/Users ) 时,仅能使用标题中的首选键一次获取 2000 个用户
- 当用户总数超过 2000 时,如何一次性检索超过 2000 个用户或所有用户?
- 如何增加最大返回元素数量?
- 使用 rest API 按名称获取文档时并未返回所有记录
- 无法使用 ODATA REST API 获取所有记录/部分
这是文章 294238 的 PDF 版本,可能已过期。最新版本 CS294238