修改公司白名单

1. 接口描述

接口名称:

/eventopenapi/mcenter/whitelist/update

发送方式:

POST

参数格式:

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

2. 输入参数

参数 类型 必须 说明
token String 是 统一鉴权token
groupId Long 是 分组ID
contactId Long 是 白名单联系人ID
name String 否 名称
company String 否 公司名称
mobile String 否 电话信息(电话信息和邮箱至少二选一)
email String 否 邮箱

mobile 参数说明

参数 类型 必须 说明
country_code String 否 国家码
phone_number String 是 电话号码

3. 输出参数

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

4. 示例

输入示例

{
    "token":"5d41c4ac806c6440eb6aa8e071115f2b",
    "groupId": 12208065,
    "contactId": 13622234,
    "name": "name9-2-1",
    "mobile": {
        "country_code": "029",
        "phone_number": "1600000094"
    },
    "company": "quanshi.com",
    "email": "name9-2-1@quanshi.com"
}

输出示例

{
    "timeStamp": 1642325618620,
    "code": 200,
    "msg": "Successfully to update the company whitelist!",
    "data": null,
    "requestId": "10.255.0.106_20220116_173338_1642325618574"
}