查询隐患扩展字段(API名称:queryExtendedAttribute)
功能介绍
该接口用于查询隐患扩展属性配置(检查类别、隐患专业、检查日期、整改类型、整改措施、整改资金、来源)。
URL
请求方式 |
HTTPS地址 |
消息体类型 |
---|---|---|
POST |
https://AppCube域名/service/ISDP__SecurityRiskBO/1.0.1/queryExtendedAttribute |
application/json |
请求头
参数 |
类型 |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
String |
是 |
请求体内容类型。 填写为:application/json |
access-token |
String |
是 |
调用API要用到的访问令牌,获取access_token中获取的access_token的值。 |
请求参数
无
响应参数
参数 |
类型 |
描述 |
---|---|---|
resCode |
String |
响应状态码
|
resMsg |
String |
响应描述,如果成功状态,通常会返回“成功”,其他情况返回具体的错误信息 |
result |
Object |
响应结果内容 |
result参数说明
参数 |
类型 |
描述 |
---|---|---|
extendedAttributeList |
Object |
扩展属性列表 |
请求示例
{ }
响应示例
{ "resCode": "0", "resMsg": "成功", "result": { "extendedAttributeList": [ { "attributeId": 6337, "childModelList": [ { "attributeId": 6338, "fieldCode": null, "fieldOrder": 1, "fieldValue": "每月检查", "parentAttributeId": 6337 }, { "attributeId": 6339, "fieldCode": null, "fieldOrder": 2, "fieldValue": "半月检查", "parentAttributeId": 6337 }, { "attributeId": 6340, "fieldCode": null, "fieldOrder": 3, "fieldValue": "每日检查", "parentAttributeId": 6337 }, { "attributeId": 6341, "fieldCode": null, "fieldOrder": 4, "fieldValue": "矿领导带班检查", "parentAttributeId": 6337 } ], "dataSourceInstance": "1", "fieldCode": "udf2", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "检查类别", "fieldOrder": 1, "fieldStatus": 1, "fieldType": 3, "fieldValue": "每月检查;半月检查;每日检查;矿领导带班检查", "issueInstance": "1" }, { "attributeId": 6346, "childModelList": [ { "attributeId": 6347, "fieldCode": null, "fieldOrder": 1, "fieldValue": "采煤", "parentAttributeId": 6346 }, { "attributeId": 6348, "fieldCode": null, "fieldOrder": 2, "fieldValue": "采煤2", "parentAttributeId": 6346 } ], "dataSourceInstance": "1", "fieldCode": "udf1", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "隐患专业", "fieldOrder": 1, "fieldStatus": 1, "fieldType": 3, "fieldValue": "采煤;采煤2", "issueInstance": "1" }, { "attributeId": 5073, "dataSourceInstance": "1", "fieldCode": "udf3", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "检查日期", "fieldOrder": 16, "fieldStatus": 1, "fieldType": 4, "fieldValue": null, "issueInstance": "1" }, { "attributeId": 5074, "dataSourceInstance": "1", "fieldCode": "udf4", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "整改类型", "fieldOrder": 16, "fieldStatus": 1, "fieldType": 20, "fieldValue": null, "issueInstance": "1" }, { "attributeId": 5075, "dataSourceInstance": "1", "fieldCode": "udf5", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "整改措施", "fieldOrder": 16, "fieldStatus": 1, "fieldType": 1, "fieldValue": null, "issueInstance": "1" }, { "attributeId": 5076, "dataSourceInstance": "1", "fieldCode": "udf6", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "整改资金", "fieldOrder": 16, "fieldStatus": 1, "fieldType": 20, "fieldValue": null, "issueInstance": "1" }, { "attributeId": 26348, "dataSourceInstance": "1", "fieldCode": "udf7", "fieldDefaultValue": "", "fieldIsNecessary": 2, "fieldLevel": 1, "fieldName": "来源", "fieldOrder": 16, "fieldStatus": 1, "fieldType": 20, "fieldValue": null, "issueInstance": "1" } ] } }
状态码
状态码请参见状态码。
错误码
错误码请参见错误码。