https://app.informat.cn/p/webapi/table_schema/{数据表ID}

请求参数

名称 类型 是否必须 示例值 描述 key String 0Zs2s2nNO17CCgo 应用API KEY

返回结果

名称 类型 示例值 描述 result Object 结果 errorCode int 0 错误码 ,0表示成功,其他见附录1 参见 result 类型 名称 类型 是否必须 示例值 描述 tableViewList List 视图列表 module Object 模块 templateList List 模板列表 tableFieldList List 字段列表 tableFieldGroupList List 字符分组列表 filterList List 过滤器列表 extendList List 脚本扩展列表 table Object 数据表定义

示例

https://app.informat.cn/p/webapi/table_schema/0Zs2s2nNE6bIYRt?key=0Zs2s2nNO17CCgo 返回内容

{  "errorCode": 0, "result": { "tableViewList": [{ "applicationId": "0Zs2nNE699BAh", "companyId": "0ZS24", "createAccountId": "5be51fa50n7CK", "createTime": 1605183462442, "enableAccessControl": false, "filterFieldList": [{ "fieldId": "0Zs2s2nNE6bTA8w", "rowNumber": 0, "visible": true }], "id": "0Zs2s2nNE6h55Yv", "name": "表格", "rowNumber": 1605183462380, "setting": { "cardShowType": "drawer", "lineHeight": "min", "fieldList": [{ "visible": true, "rowNumber": 1, "fieldId": "0Zs2s2nNE6bTA8w" }, { "visible": true, "rowNumber": 2, "fieldId": "0Zs2s2nNE6bTNvs" }, { "visible": true, "rowNumber": 3, "fieldId": "0Zs2s2nNE6bTVex" }] }, "tableId": "0Zs2s2nNE6bIYRt", "type": "Grid", "updateAccountId": "5be51fa50n7CK", "updateTime": 1605186934666 }], "module": { "applicationId": "0Zs2nNE699BAh", "companyId": "0ZS24", "createAccountAvatar": "639c0b2623964bf9b81544b730e3c26a_p.jpg", "createAccountId": "5be51fa50n7CK", "createAccountName": "张三", "createTime": 1605183462382, "icon": "table", "id": "0Zs2s2nNE6bIYRt", "isDelete": false, "name": "员工", "rowNumber": 1605183462368, "type": "Table", "updateAccountId": "5be51fa50n7CK", "updateTime": 1605186924223 }, "templateList": [], "tableFieldList": [{ "applicationId": "0Zs2nNE699BAh", "companyId": "0ZS24", "createAccountId": "5be51fa50n7CK", "createTime": 1605183462398, "displayWidth": 100, "icon": "asterisk", "id": "0Zs2s2nNE6bTA8w", "isConditionVisible": false, "isEditable": true, "isHidden": false, "isPrivateEdit": false, "isPrivateVisible": false, "isSearchInSidebar": false, "isSystemField": true, "isVisible": true, "moduleName": "员工", "name": "名称", "rowNumber": 1605183462371, "setting": { "min": 1, "nullable": false, "max": 200, "unique": false }, "tableId": "0Zs2s2nNE6bIYRt", "type": "Name", "updateAccountId": "5be51fa50n7CK", "updateTime": 1605183462398 }, { "applicationId": "0Zs2nNE699BAh", "companyId": "0ZS24", "createAccountId": "5be51fa50n7CK", "createTime": 1605183462403, "displayWidth": 50, "icon": "asterisk", "id": "0Zs2s2nNE6bTNvs", "isConditionVisible": false, "isEditable": true, "isHidden": false, "isPrivateEdit": false, "isPrivateVisible": false, "isSearchInSidebar": false, "isSystemField": false, "isVisible": true, "moduleName": "员工", "name": "手机号", "rowNumber": 1605183462372, "setting": { "min": 0, "nullable": true, "max": 200, "unique": false, "format": "string" }, "tableId": "0Zs2s2nNE6bIYRt", "type": "SingleText", "updateAccountId": "5be51fa50n7CK", "updateTime": 1605187037788 }, { "applicationId": "0Zs2nNE699BAh", "companyId": "0ZS24", "createAccountId": "5be51fa50n7CK", "createTime": 1605186960181, "displayWidth": 50, "icon": "asterisk", "id": "0Zs2s2nNE6bTVex", "isConditionVisible": false, "isEditable": true, "isHidden": false, "isPrivateEdit": false, "isPrivateVisible": false, "isSearchInSidebar": false, "isSystemField": false, "isVisible": true, "moduleName": "员工", "name": "性别", "rowNumber": 1605183462373, "setting": { "nullable": true, "optionList": [{ "color": "c1", "name": "男", "checked": false, "id": "46p2r8a9rtsq" }, { "color": "c2", "name": "女", "checked": false, "id": "kqkjhmbyvxlz" }], "editorType": "select", "editorStyle": "solid" }, "tableId": "0Zs2s2nNE6bIYRt", "type": "SingleSelect", "updateAccountId": "5be51fa50n7CK", "updateTime": 1605186960181 }], "tableFieldGroupList": [], "filterList": [], "extendList": [], "table": { "appIcon": "star", "appName": "织信演示", "applicationId": "0Zs2nNE699BAh", "autoIncrement": 0, "companyId": "0ZS24", "createAccountAvatar": "639c0b2623964bf9b81544b730e3c26a_p.jpg", "createAccountId": "5be51fa50n7CK", "createAccountName": "张三", "createTime": 1605183462396, "formStyle": "Simple", "formWidth": "Normal", "id": "0Zs2s2nNE6bIYRt", "isDelete": false, "isHideComment": false, "isNotifyMember": false, "isQuickCreate": false, "isShowFormBorder": false, "moduleIcon": "table", "moduleName": "员工", "recordCount": 0, "updateAccountId": "5be51fa50n7CK", "updateTime": 1605183462396 } } }

文档更新时间: 2021-02-26 18:21