文档中心 平台运营商相关 获取运营商管理的企业

获取运营商管理的企业

1.功能说明

商家获取企业信息

2.接口调用说明

请求URL

https://openapi.guanaitong.tech/platformDealer/enterprise

HTTP请求方式

POST

输入参数说明

(1)公共参数

发送请求是必须传入公共参数,详见公共参数

(2)私有参数

none

请求示例
POST /platformDealer/enterprise HTTP/1.1
Host: openapi.guanaitong.tech
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

access_token=b983eef183a789a693b91406f38b7e23&version=1.0.0&
timestamp=1531039298
                    
返回参数说明
参数名称 描述
code 返回码。详见错误返回码
msg 如果错误,返回错误信息。
data 企业信息数组
正确返回示例
{
    "code": 0,
    "data": [
                {
                    "name":"A公司",
                    "open_id":"a5fad9894edd0d2202639248fa0461ec",
                    "enterprise_code":"SAMPLE001"
                },
                {
                    "name":"B公司",
                    "open_id":"re02d9894edd0d22458th4uth343rrw4",
                    "enterprise_code":"SAMPLE002"
                },
            ],
    "msg": "OK"
}