0

VersionOne - 新的 query.v1 是否支持提取附件?如果是这样,有人可以提供一个例子吗?

此 query.v1 刚刚出现在 VersionOne Summer 2013(版本 13.2)中

https://community.versionone.com/Developers/Developer-Library/Recipes/Tour_of_query.v1

4

1 回答 1

1

是的。

from: Attachment
select:
  - Name
  - ContentType
  - Content

Blob 字段(内容)返回为 Base64

[
  [
    {
      "_oid": "Attachment:1783",
      "Name": "Attachment A",
      "ContentType": "text/plain",
      "Content": "VGhpcyBpcyB ...base64 encoded bytes here... hdHRhY2htZW50"
    }
  ]
]
于 2013-08-27T20:20:22.910 回答