| 文本 | text | "TextString"(字符串) | "TextString"(字符串) |
| 数字 | number | 123(支持整数 / 浮点数 / 字符串) | "123"(数字值,以字符串形式返回) |
| 货币 | currency | 123(支持整数 / 浮点数 / 字符串) | "123"(数字值,以字符串形式返回) |
| 单选 | singleSelect | "optionName1"(单选选项名) | { "id": "id", "name": "optionName1" }(id 为选项 ID,name 为选项名) |
| 多选 | multipleSelect | ["optionName1", "optionName2"](多选选项名) | [{ "id": "id1", "name": "optionName1" }, { "id": "id2", "name": "optionName2" }] |
| 日期 | date | 1688601600000(时间戳)或 "2023-12-20 03:00"(ISO 8601 字符串) | 1688601600000(时间戳) |
| 人员 | user | [{ unionId: "xxx" }] | [{ unionId: "xxx" }] |
| 部门 | department | [{ deptId: "xxx" }] | [{ deptId: "xxx" }] |
| 附件 | attachment | 具体请参考上传附件。 | [{ "filename": "image.xlsx", "size": 92250, "type": "xls", "url": "xxx" }] 说明 url 是附件访问链接。- 当附件是在线文档时,其是在线文档链接,该链接没有访问时效。- 当附件是其它文件时,是一个有访问时效的下载链接,一段时间后该链接将无法访问。 |
| 单向关联 | unidirectionalLink | { "linkedRecordIds": ["xxx", "yyy"] } | { "linkedRecordIds": ["xxx", "yyy"] } 说明 field property 中包含关联的 sheetId,配合这里返回的 recordId,可以通过调用获取记录接口去获取关联记录的值。 |
| 双向关联 | bidirectionalLink | { "linkedRecordIds": ["xxx", "yyy"] } | { "linkedRecordIds": ["xxx", "yyy"] } |
| 链接 | url | { "text": "Dingtalk", "link": "https://dingtalk.io" } | { "text": "Dingtalk", "link": "https://dingtalk.io" } |