### API Request Parameters for GET Method Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines the parameters required for the HTTP GET request to the API. Each parameter includes its name, description, data type, length, and whether it is mandatory. ```APIDOC Parameter Name | Description | Data Type | Length | Required | Notes -------------|-------------|-----------|--------|----------|------- enterpriseId | 企业标识 (Enterprise ID) | C | C32 | Yes | Provided by the government's dual prevention system when applying for docking taskId | 任务标识 (Task ID) | C | C36 | Yes | Task ID (primary key ID) from the 'Special Inspection Task Information' table obtained by the enterprise from the government's dual prevention system checkItemId | 检查项标识 (Check Item ID) | C | C36 | No | Check item ID (primary key ID) from the 'Special Inspection Item Information' table obtained by the enterprise from the government's dual prevention system ``` -------------------------------- ### Example of API Test Response JSON Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Illustrates the JSON structure returned when performing an API connectivity test, indicating server access success and a reminder not to include test parameters in formal data submissions. ```JSON { "result": "99", "resultmsg": "服务器访问成功,正式数据上报时不要传接口测试参数 InterfaceTestXml" } ``` -------------------------------- ### Example of Successful API Response JSON Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Illustrates the JSON structure returned upon a successful API call, including the result code, message, and an array of data objects with detailed check score information. ```JSON { "result": "01", "resultmsg": "调用成功", "data": [ { "checkScoreId": "be27b8370f3346deb43e80fe139ab64f", "enterpriseId": "89d2c146a2f74dfc81b27a5a215e5156", "taskId": "94b7ba63f10844c68b44a610fc7118b2", "checkItemId": "96d4ca1f0ca64e49a5114edbbb67871e", "isReject": "0", "deductPoint": 3.0, "deductIllustrate": "扣分说明", "createTime": "20240203152009", "creator": "张三", "deleted": "0" }, …… ] } ``` -------------------------------- ### API Test Parameter XML Structure Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api XML structure used for initial API connectivity testing. For testing, other parameters can be empty (but parameter names must be present), and only the 'InterfaceTest' parameter with the fixed value 'InterfaceTest' needs to be transmitted. ```XML InterfaceTest ``` -------------------------------- ### API Call Result Codes and Descriptions Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Lists the possible result codes returned by the API, along with their corresponding descriptions, indicating success, failure, or specific error conditions such as missing parameters or permission issues. ```APIDOC Name | Code -----|----- 成功 (Success) | 01 失败 (Failure) | 02 必要的参数不能为空 (Required parameters cannot be empty) | 03 参数格式错误 (Parameter format error) | 04 用户无权限 (User has no permission) | 401 数据超长或其它数据库插入错误 (Data too long or other database insertion error) | 500 其他 (Other) | 99 ``` -------------------------------- ### Code Set: Rectification Types Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for different types of rectification actions, such as immediate or time-limited rectification. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | X2401 | 立即整改 (Immediate rectification) 2 | X2402 | 限期整改 (Time-limited rectification) ``` -------------------------------- ### Code Set: Risk Levels Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for different risk levels, used to categorize and prioritize risks within the system. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | E4301 | 重大风险 (Major risk) 2 | E4302 | 较大风险 (Larger risk) 3 | E4303 | 一般风险 (General risk) 4 | E4304 | 低风险 (Low risk) ``` -------------------------------- ### Code Set: Control Levels Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for different management and control levels within an organization, indicating the hierarchy of responsibility. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | H9301 | 集团 (Group) 2 | H9302 | 公司 (Company) 3 | H9303 | 部门 (Department) 4 | H9304 | 班组 (Team/Squad) 5 | H9305 | 岗位 (Position) ``` -------------------------------- ### Detailed Field Parameters for Data Objects Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Describes the specific fields within data objects, including their Chinese and English names, data types, representation formats, and whether they are mandatory. These fields are typically part of the request body or data objects within the response. ```APIDOC Field Chinese Name | Field English Name | Data Type | Representation Format | Required | Description -------------------|--------------------|-----------|---------------------|----------|------------ 检查项评分标识 | checkScoreId | c | c36 | Yes | 32-bit UUID primary key, unique identifier when the enterprise obtains this record from the government 企业标识 | enterpriseId | c | c32 | Yes | Provided by the government's dual prevention system when applying for docking 任务 ID | taskId | c | c36 | Yes | Foreign key, task ID (primary key ID) from the 'Special Inspection Task Information' table obtained by the enterprise from the government's dual prevention system 检查项标识 | checkItemId | c | c36 | Yes | Foreign key, check item ID (primary key ID) from the 'Special Inspection Item Information' table obtained by the enterprise from the government's dual prevention system 是否为否决项 | isReject | c | C1 | Yes | No: 0; Yes: 1 扣分分值 | deductPoint | n | N3 | Yes | 扣分说明 | deductIllustrate | text | text | Yes | 记录创建时间 | createTime | d | d14 | Yes | Refers to the creation/update time of the record. Format: YYYYMMDDHHMMSS 创建人 | creator | c | c..50 | Yes | 记录状态 | deleted | c | C1 | Yes | Normal: 0; Deleted: 1 ``` -------------------------------- ### Code Set: Induced Accident Types Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for various types of induced accidents, used for classification and reporting within the system. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | E9201 | 物体打击 (Struck by object) 2 | E9202 | 车辆伤害 (Vehicle injury) 3 | E9203 | 机械伤害 (Mechanical injury) 4 | E9204 | 起重伤害 (Lifting injury) 5 | E9205 | 触电 (Electric shock) 6 | E9206 | 淹溺 (Drowning) 7 | E9207 | 灼烫 (Scalding/Burning) 8 | E9208 | 火灾 (Fire) 9 | E9209 | 高处坠落 (Fall from height) 10 | E9210 | 坍塌 (Collapse) 11 | E9211 | 冒顶片帮 (Roof/side fall) 12 | E9212 | 透水 (Water penetration) 13 | E9213 | 爆破 (Blasting) 14 | E9214 | 火药爆炸 (Gunpowder explosion) 15 | E9215 | 瓦斯爆炸 (Gas explosion) 16 | E9216 | 锅炉爆炸 (Boiler explosion) 17 | E9217 | 容器爆炸 (Container explosion) 18 | E9218 | 其它爆炸 (Other explosion) 19 | E9219 | 中毒和窒息 (Poisoning and asphyxiation) 20 | E9220 | 其他伤害 (Other injuries) 21 | E9221 | 消防火灾 (Firefighting fire) 22 | E9222 | 道路交通 (Road traffic) 23 | E9223 | 水上交通 (Water traffic) 24 | E9224 | 铁路路外 (Railway off-road) 25 | E9225 | 航空 (Aviation) 26 | E9226 | 锅炉容器 (Boiler and container) 27 | E9227 | 其他道路 (Other roads) 28 | E9228 | 其他水上 (Other water) 29 | E9229 | 铁路路内 (Railway on-road) 30 | E9230 | 其他 (Other) 31 | E9231 | 渔业 (Fishery) 32 | E9232 | 其它 (Other) ``` -------------------------------- ### Code Set: Attachment Types Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for various types of attachments that can be uploaded, such as images or documents related to hidden danger rectification. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | SYS1003 | 隐患整改措施 (Hidden danger rectification measures) 2 | SYS1004 | 隐患应急预案 (Hidden danger emergency plan) 3 | SYS1005 | 整改前图片 (Image before rectification) 4 | SYS1006 | 整改后图片 (Image after rectification) 5 | SYS1099 | 企业安全风险四色分布图 (Enterprise safety risk four-color distribution map) ``` -------------------------------- ### Code Set: Hidden Danger Levels Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for different levels of hidden dangers, typically categorizing them as general or major. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | X2001 | 一般隐患 (General hidden danger) 2 | X2002 | 重大隐患 (Major hidden danger) ``` -------------------------------- ### Code Set: Control Measure Classification Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a hierarchical list of codes and names for classifying various control measures, including engineering, maintenance, personnel, individual protection, and emergency measures. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | HTR01 | 工程技术 (Engineering technology) 2 | HTR0101 | 工艺控制 (Process control) 3 | HTR0102 | 关键设备/部件 (Key equipment/components) 4 | HTR0103 | 安全附件 (Safety accessories) 5 | HTR0104 | 安全仪表 (Safety instrumentation) 6 | HTR0199 | 其它 (Other) 7 | HTR02 | 维护保养 (Maintenance) 8 | HTR0201 | 动设备 (Dynamic equipment) 9 | HTR0202 | 静设备 (Static equipment) 10 | HTR0299 | 其它 (Other) 11 | HTR03 | 人员操作 (Personnel operation) 12 | HTR0301 | 人员资质 (Personnel qualification) 13 | HTR0302 | 操作记录 (Operation record) 14 | HTR0303 | 交接班 (Shift handover) 15 | HTR0399 | 其它 (Other) 16 | HTR04 | 个体防护 (Individual protection) 17 | HTR0401 | 个体防护 (Individual protection) 18 | HTR05 | 应急措施 (Emergency measures) 19 | HTR0501 | 应急设施 (Emergency facilities) 20 | HTR0502 | 消防设施 (Firefighting facilities) 21 | HTR0503 | 应急预案 (Emergency plan) 22 | HTR0599 | 其它 (Other) ``` -------------------------------- ### Code Set: Hidden Danger Inspection Types Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for different types of hidden danger inspections, such as routine, comprehensive, or specialized inspections. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | HTG07 | 日常排查 (Daily inspection) 2 | HTG08 | 综合性排查 (Comprehensive inspection) 3 | HTG09 | 专业性排查 (Specialized inspection) 4 | HTG10 | 季节性排查 (Seasonal inspection) 5 | HTG04 | 重点时段及节假日前排查 (Inspection before key periods and holidays) 6 | HTG11 | 事故类比排查 (Accident analogy inspection) 7 | HTG12 | 复产复工前排查 (Inspection before resuming production/work) 8 | HTG06 | 外聘专家诊断式排查 (Diagnostic inspection by external experts) 9 | HTG13 | 管控措施失效 (Control measure failure) 10 | HTG99 | 其他 (Other) ``` -------------------------------- ### Code Set: Rectification Status Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a list of codes and names for the status of rectification efforts, indicating whether a hidden danger has been rectified or not. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | X1301 | 未整改 (Not rectified) 2 | X1303 | 已整改 (Rectified) ``` -------------------------------- ### Code Set: Hidden Danger Categories Source: https://assets.dianx.cn/docs/henan-dp-api.html/henan-dp-api Defines a comprehensive list of codes and names for various categories of hidden dangers or hazards, used for detailed classification and management. ```APIDOC 序号 (No.) | 编码 (Code) | 名称 (Name) -----------|-------------|----------- 1 | X100101 | 资质证照 (Qualifications and licenses) 2 | X100102 | 安全生产管理机构及人员 (Safety production management organizations and personnel) 3 | X100103 | 安全规章制度 (Safety rules and regulations) 4 | X100104 | 安全培训教育 (Safety training and education) 5 | X100105 | 安全投入 (Safety investment) 6 | X100106 | 相关方面管理 (Related party management) 7 | X100107 | 重大危险源管理 (Major hazard source management) 8 | X100108 | 个体防护装备 (Personal protective equipment) 9 | X100109 | 职业健康 (Occupational health) 10 | X100110 | 应急管理 (Emergency management) 11 | X100111 | 隐患排查治理 (Hidden danger investigation and rectification) 12 | X100112 | 事故报告、调查和处理 (Accident reporting, investigation, and handling) 13 | X100113 | 其他基础管理 (Other basic management) 14 | X100201 | 作业场所 (Workplace) 15 | X100202 | 设备设施 (Equipment and facilities) 16 | X100203 | 防护、保险、信号等装置装备 (Protection, insurance, signal, and other devices and equipment) 17 | X100204 | 原辅物料、产品 (Raw and auxiliary materials, products) 18 | X100205 | 职业病危害 (Occupational disease hazards) 19 | X100206 | 相关方作业 (Related party operations) 20 | X100207 | 安全技能 (Safety skills) 21 | X100208 | 个体防护 (Personal protection) 22 | X100209 | 作业许可 (Work permit) 23 | X100210 | 其他现场管理 (Other on-site management) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.