【问题标题】:Why does my query to VersionOne API using find does not return expected results?为什么我使用 find 对 VersionOne API 的查询没有返回预期结果?
【发布时间】:2013-11-26 23:44:34
【问题描述】:

我正在尝试使用 VersionOne rest-1.v1/Data 端点到 find 在特定字段中带有字符串 9.00.00.01 的所有故事。这是查询(为便于阅读而添加了换行符):

<Server Base URI>/rest-1.v1/Data/Story
    ?sel=Number,Custom_FixedinVersions
    &find=9.00.00.01
    &findin=Custom_FixedinVersions

这将返回在查询字段中未显示9.00.00.01 字符串的结果。例如:

<Asset href="/rest-1.v1/Data/Story/60560" id="Story:60560">
    <Attribute name="Number">B-06248</Attribute>
    <Attribute name="Custom_FixedinVersions">8.10.00.00-01</Attribute>
</Asset>

我的查询有什么问题?

【问题讨论】:

    标签: api rest versionone


    【解决方案1】:

    rest-1.v1 API 的find 功能使用与Advanced Search 功能相同的底层功能。因此,它具有same limitations 作为 VersionOne 应用程序。即,标点符号被视为单字符术语并从搜索查询中排除。因此,上述术语9.00.00.01 被视为9 00 00 01,其中搜索引擎匹配任何以空格分隔的值。因此,8.10.00.00-01 匹配 0001 术语。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-08-06
      • 1970-01-01
      • 1970-01-01
      • 2011-11-07
      • 1970-01-01
      • 2013-12-20
      • 2023-02-07
      相关资源
      最近更新 更多