企业详情微信公众号信息
API路径
/services/v4/rest/enterprise/getEntWeChatInfo
请求方法
GET
请求参数
字段 | 类型 | 是否必选 | 说明 | 示例 |
---|---|---|---|---|
id | string | 否(id和keywords必须存在一个) | 企业PID | |
keywords | string | 否(id和keywords必须存在一个) | 企业PID或者公司名称,统一信用代码,工商注册码 | |
page | int | 否(默认为1) | 分页参数-页数 | |
pageSize | int | 否(默认为100),最大值为100 | 分页参数-每页数量 |
调用样例
https://${host}/services/v4/rest/enterprise/getEntWeChatInfo?id=7be62ec095fdd7463548514a15d268ba
JSON示例
{
"error_code": 0,
"success": true,
"message": "",
"data": {
"page": 1, // 当前查询的页码
"pageSize": 100, // 当前查询的每页数量
"total": 1, // 总数量
"totalPage": 1, // 总页码数
"selfInfo": { // 查询企业的信息
"pid": "387cf029d31ef28836486d0d38821d5e", // 企业pid
"entName": "华为技术有限公司", // 企业名称
"uncid": "914403001922038216", // 企业的统一社会信用码
"esDate": 558633600000 // 企业注册时间
},
"items": [
{
"wechatImageUrl": null, // logo图片url
"wechatName": "华为云产品与解决方案", // 公众号名
"wechatDescription": "", // 公众号简介
"wechatAccount": "HWCloudTech" // 微信账号
}
]
}
}
返回错误代码以及处理方式
code | 处理方式 | 说明 |
---|---|---|
2001 | 缺少必填参数 | id和keywords不能同时为空 |
2002 | 修改参数 | 未查询到相关企业 |
错误代码参考 错误码定义
文档更新时间: 2025-04-28 16:35 作者:姜河