查找选区数据
标签:【电子表格】
请求说明
| 字段 | 值 |
|---|---|
请求地址 | https://openapi.wps.cn/v7/sheets/{file_id}/worksheets/{worksheet_id}/range_data/find |
HTTP 方法 | POST |
接口描述 | 无 |
签名方式 | KSO-1 |
限频策略 | 无 |
权限要求 | 管理传统表格(应用授权) kso.sheets.readwrite查询传统表格(应用授权) kso.sheets.read管理传统表格(用户授权) kso.sheets.readwrite查询传统表格(用户授权) kso.sheets.read |
路径参数 (Path)
| 属性名 | 类型 | 是否必填 | 描述 | 可选值 |
|---|---|---|---|---|
file_id | string | 是 | 文件ID | - |
worksheet_id | integer | 是 | 工作表ID | - |
请求体(Body)
请求体格式: application/json
请求体示例
json
{
"filter": {
"condition": [
{
"col": 0,
"info": [
{
"value": "string"
}
],
"mode": "filter_mode_and"
}
],
"duplicates": {
"col": [
0
]
},
"search": [
{
"col": 0,
"value": [
"string"
]
}
]
},
"ignore_hidden_cell": true,
"option_cols": [
0
],
"page": {
"page": 0,
"page_size": 0
},
"range": {
"col_from": 0,
"col_to": 0,
"row_from": 0,
"row_to": 0
},
"show_total": true
}
响应体(Response)
HTTP状态码: 200
响应体格式: application/json
响应体示例
json
{
"data": {
"merge_range_data": [
{
"cell_text": "string",
"col_from": 0,
"col_to": 0,
"is_cell_pic": true,
"num_format": "string",
"original_cell_value": "string",
"pic_content": "string",
"pic_data": "string",
"row_from": 0,
"row_to": 0,
"sha1": "string",
"tag": "string"
}
],
"option_col": [
{
"col": 0,
"texts": [
{
"count": 0,
"origin": "string",
"text": "string"
}
]
}
],
"range_data": [
{
"cell_text": "string",
"col_from": 0,
"col_to": 0,
"is_cell_pic": true,
"num_format": "string",
"original_cell_value": "string",
"pic_content": "string",
"pic_data": "string",
"row_from": 0,
"row_to": 0,
"sha1": "string",
"tag": "string"
}
],
"result_type": 0,
"total": 0
},
"code": 0,
"msg": "string"
}