ITSM

运维管理系统


模型属性

<h5>简要描述</h5> <ul> <li>获取CMDB模型属性</li> <li>GfzqGetCmdbModelAttr <h5>请求URL</h5></li> <li><code>http://192.168.2.107:8080/ops/script/cmdb/getProperties</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">objectId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>模型ID</td> </tr> </tbody> </table> <h5>调用示例</h5> <pre><code>{"objectId":"APP"}</code></pre> <h5>返回示例</h5> <pre><code>{ "result": [ { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "name", "group": "默认属性", "modelId": "BUSINESS", "name": "名称", "order": false, "outsideAttrId": "name", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "nickname", "group": "默认属性", "modelId": "BUSINESS", "name": "系统别名", "order": false, "outsideAttrId": "nickname", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "sn", "group": "基本信息", "modelId": "BUSINESS", "name": "系统编号", "order": false, "outsideAttrId": "sn", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "appname", "group": "默认属性", "modelId": "BUSINESS", "name": "英文简称", "order": false, "outsideAttrId": "appname", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "枚举型(单选)", "displayValue": [ "T1", "T2" ], "fieldName": "importance", "group": "默认属性", "modelId": "BUSINESS", "name": "系统重要性", "order": false, "outsideAttrId": "importance", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "枚举型(单选)", "displayValue": [ "立项中", "建设中", "试运行", "已上线", "已下线" ], "fieldName": "status", "group": "默认属性", "modelId": "BUSINESS", "name": "系统状态", "order": false, "outsideAttrId": "status", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "defaultValue": "系统", "display": "枚举型(单选)", "displayValue": [ "工具", "系统", "平台" ], "fieldName": "class", "group": "默认属性", "modelId": "BUSINESS", "name": "系统形态", "order": false, "outsideAttrId": "class", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "defaultValue": "实体系统", "display": "枚举型(单选)", "displayValue": [ "实体系统", "虚拟系统" ], "fieldName": "flag", "group": "默认属性", "modelId": "BUSINESS", "name": "系统类型", "order": false, "outsideAttrId": "flag", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "_category", "group": "默认属性", "modelId": "BUSINESS", "name": "分类", "order": false, "outsideAttrId": "_category", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "枚举型(单选)", "displayValue": [ "自主研发", "合作开发", "外购", "开源" ], "fieldName": "dev_model", "group": "默认属性", "modelId": "BUSINESS", "name": "开发模式", "order": false, "outsideAttrId": "dev_model", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "defaultValue": "一级系统", "display": "枚举型(单选)", "displayValue": [ "一级系统", "二级系统" ], "fieldName": "rank", "group": "默认属性", "modelId": "BUSINESS", "name": "系统层级", "order": false, "outsideAttrId": "rank", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "数组", "fieldName": "manufacturer", "group": "默认属性", "modelId": "BUSINESS", "name": "开发厂商", "order": false, "outsideAttrId": "manufacturer", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "枚举型(单选)", "displayValue": [ "有", "无" ], "fieldName": "test_env", "group": "默认属性", "modelId": "BUSINESS", "name": "独立测试环境", "order": false, "outsideAttrId": "test_env", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "memo", "group": "默认属性", "modelId": "BUSINESS", "name": "备注", "order": false, "outsideAttrId": "memo", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "description", "group": "默认属性", "modelId": "BUSINESS", "name": "描述", "order": false, "outsideAttrId": "description", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "init_date", "group": "默认属性", "modelId": "BUSINESS", "name": "建设日期", "order": false, "outsideAttrId": "init_date", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "pilot_date", "group": "默认属性", "modelId": "BUSINESS", "name": "试运行日期", "order": false, "outsideAttrId": "pilot_date", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "online_date", "group": "默认属性", "modelId": "BUSINESS", "name": "上线日期", "order": false, "outsideAttrId": "online_date", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "offline_date", "group": "默认属性", "modelId": "BUSINESS", "name": "下线日期", "order": false, "outsideAttrId": "offline_date", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "defaultValue": "["无"]", "display": "多选枚举型", "displayValue": [ "重要业务", "T0系统", "监管报送", "重要信息系统", "效能管理", "无", "DevOps", "涉及敏感数据" ], "fieldName": "important_tag", "group": "默认属性", "modelId": "BUSINESS", "name": "系统标签", "order": false, "outsideAttrId": "important_tag", "readonly": true, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "枚举型(单选)", "displayValue": [ "重要交易系统", "一般交易系统", "办公类系统", "一般业务系统", "工具类系统" ], "fieldName": "category", "group": "默认属性", "modelId": "BUSINESS", "name": "功能分类", "order": false, "outsideAttrId": "category", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "businessId", "group": "默认属性", "modelId": "BUSINESS", "name": "业务ID", "order": false, "outsideAttrId": "businessId", "readonly": true, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "结构体数组", "fieldName": "web_url", "group": "默认属性", "modelId": "BUSINESS", "name": "Web入口", "order": false, "outsideAttrId": "web_url", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "struct": true, "structHead": [ { "fieldName": "name", "name": "简称(比如OA门户)", "type": "input", "typeName": "字符型" }, { "fieldName": "url", "name": "URL(请以http://或https://开头)", "type": "input", "typeName": "字符型" }, { "dataValue": [ "已开通", "未开通" ], "fieldName": "office_access", "name": "办公网访问", "type": "select", "typeName": "default" } ], "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "id", "group": "默认属性", "modelId": "BUSINESS", "name": "项目管理平台id", "order": false, "outsideAttrId": "id", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "结构体", "fieldName": "trade_calendar", "group": "默认属性", "modelId": "BUSINESS", "name": "交易日历", "order": false, "outsideAttrId": "trade_calendar", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "struct": true, "structHead": [ { "dataValue": [ "须维护", "不涉及" ], "fieldName": "flag", "name": "是否维护", "type": "select", "typeName": "default" }, { "dataValue": [ "手工设置(脚本)", "手工设置(前台)", "自动同步其它系统" ], "fieldName": "type", "name": "维护类型", "type": "select", "typeName": "default" }, { "fieldName": "remark", "name": "其它系统名称", "type": "input", "typeName": "字符型" }, { "dataValue": [ "开启", "关闭" ], "fieldName": "switch", "name": "维护提醒开关", "type": "select", "typeName": "default" } ], "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "en_name", "group": "基本信息", "modelId": "BUSINESS", "name": "英文全称", "order": false, "outsideAttrId": "en_name", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "数组", "fieldName": "former_name", "group": "基本信息", "modelId": "BUSINESS", "name": "曾用名", "order": false, "outsideAttrId": "former_name", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "isLeaf", "group": "基本信息", "modelId": "BUSINESS", "name": "叶子节点", "order": false, "outsideAttrId": "isLeaf", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "offline_workflow", "group": "基本信息", "modelId": "BUSINESS", "name": "下线流程", "order": false, "outsideAttrId": "offline_workflow", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "workflow", "group": "基本信息", "modelId": "BUSINESS", "name": "上线流程", "order": false, "outsideAttrId": "workflow", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "结构体", "fieldName": "deploy_env", "group": "基本信息", "modelId": "BUSINESS", "name": "部署环境", "order": false, "outsideAttrId": "deploy_env", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "struct": true, "structHead": [ { "dataValue": [ "生产主用", "生产热备", "同城灾备", "异地灾备", "独立测试", "预发布", "测试", "开发", "无" ], "fieldName": "sys_env", "name": "系统部署环境", "type": "select", "typeName": "multiple" }, { "dataValue": [ "生产主用", "生产热备", "同城灾备", "异地灾备", "独立测试", "预发布", "测试", "开发", "无" ], "fieldName": "db_env", "name": "数据库部署环境", "type": "select", "typeName": "multiple" } ], "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "defaultValue": "否", "display": "枚举型(单选)", "displayValue": [ "是", "否" ], "fieldName": "is_delete", "group": "基本信息", "modelId": "BUSINESS", "name": "是否删除", "order": false, "outsideAttrId": "is_delete", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "文本框", "fieldName": "_catagory", "group": "基本信息", "modelId": "BUSINESS", "name": "业务分类", "order": false, "outsideAttrId": "_catagory", "readonly": false, "remark": "", "required": false, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" }, { "checkRule": "", "defaultSort": false, "display": "多选枚举型", "displayValue": [ "本地部署", "Eagle平台", "容器云平台", "腾讯云", "华为云", "证通云", "外部SAAS", "Rancher平台", "无" ], "fieldName": "deploy_platform", "group": "基本信息", "modelId": "BUSINESS", "name": "部署平台", "order": false, "outsideAttrId": "deploy_platform", "readonly": false, "remark": "", "required": true, "show": true, "sortWeight": "", "tableWidth": 100, "type": "normal" } ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">errorCode</td> <td style="text-align: left;">int</td> <td>状态码</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML