批量创建工作表
标签:多维表
请求说明
字段 | 值 |
---|---|
请求地址 | https://openapi.wps.cn/v7/dbsheet/{file_id}/sheets/batch_create |
HTTP 方法 | POST |
接口描述 | 无 |
签名方式 | KSO-1 |
限频策略 | 无 |
权限要求 | 管理多维表格(应用授权) kso.dbsheet.readwrite 管理多维表格(用户授权) kso.dbsheet.readwrite |
路径参数 (Path)
属性名 | 类型 | 是否必填 | 描述 | 可选值 |
---|---|---|---|---|
file_id | string | 是 | 文件 ID | - |
请求体(Body)
请求体格式: application/json
没有可用的数据
请求体示例
json
{
"sheets": [
{
"fields": [
{
"default_value": "string",
"default_value_type": "string",
"number_format": "string",
"id": "string",
"name": "string",
"type": "string"
}
],
"name": "string",
"position": {
"after_sheet_id": 0,
"before_sheet_id": 0
},
"views": [
{
"id": "string",
"name": "string",
"records_count": 0,
"type": "string"
}
]
}
]
}
响应体(Response)
HTTP状态码: 200
响应体格式: application/json
没有可用的数据
响应体示例
json
{
"data": {
"sheets": [
{
"fields": [
{
"default_value": "string",
"default_value_type": "string",
"number_format": "string",
"id": "string",
"name": "string",
"type": "string"
}
],
"id": 0,
"name": "string",
"primary_field_id": "string",
"views": [
{
"id": "string",
"name": "string",
"records_count": 0,
"type": "string"
}
]
}
]
},
"code": 0,
"msg": "string"
}