查看公司白名单列表

1. 接口描述

接口名称:

/eventopenapi/mcenter/whitelist

发送方式:

POST

参数格式:

accept: application/json;content-type: application/json

2. 输入参数

参数 类型 必须 说明
token String 统一鉴权token
page Int 显示的页数(默认值1)
pageSize Int 每页的记录数(默认值 10)

3. 输出参数

参数 类型 说明
timeStamp Long 返回时间(时间戳,单位毫秒)
requestId String 请求ID(在接口异常时, 需提供请求ID)
code Int 返回的状态码
msg String 当返回结果的状态码不为200时,包含的错误信息
data Array 返回数据

data 参数说明

参数 类型 说明
customer_code String 客户编码
group_id Long 分组ID
group_name String 分组名称
contact_id Long 白名单联系人ID
name String 名称
company String 公司名称
email String 邮箱
mobile Json 电话信息

mobile 参数说明

参数 类型 说明
country_code String 国家码
phone_number String 电话号码

4. 示例

输入示例

{
    "token":"5d41c4ac806c6440eb6aa8e071115f2b",
    "page": 1,
    "pageSize": 10
}

输出示例

{
    "timeStamp": 1639473538438,
    "code": 200,
    "msg": "Successfully to get the mcenter whitelist!",
    "data": [
        {
            "group_id": 12209714,
            "group_name": "G1",
            "name": "name19",
            "mobile": {
                "country_code": "",
                "phone_number": ""
            },
            "company": "quanshi.com",
            "contact_id": 13622302,
            "customer_code": "153857",
            "email": "name19@quanshi.com"
        },
        {
            "group_id": 12209714,
            "group_name": "G1",
            "name": "name18",
            "mobile": {
                "country_code": "",
                "phone_number": ""
            },
            "company": "quanshi.com",
            "contact_id": 13622301,
            "customer_code": "153857",
            "email": "name18@quanshi.com"
        }
    ],
    "requestId": "10.255.0.106_20211214_171858_1639473538405"
}