Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在从 Rest 数据库中提取以下数据以显示与“Project One”相关的资产数据。有谁知道在一个 URL 中显示多个项目/特定项目/子项目的正确语法是什么?即 where=Scope.ParentMeAndUp.Name='Project One'; “项目二”;“项目三”
http://versionone/VersionOne/rest-1.v1/Data/PrimaryWorkitem?sel=ID.Name,ID.Number,Scope.Name&where=Scope.ParentMeAndUp.Name= '项目一'
阿米克
使用逗号而不是分号来分隔过滤条件值。
例如,使用您的示例:
http://versionone/VersionOne/rest-1.v1/Data/PrimaryWorkitem?sel=ID.Name,ID.Number,Scope.Name&where=Scope.ParentMeAndUp.Name='项目一','项目二','项目三'