版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

属性

类型

必填

说明

属性

类型

必填

说明

publicParams
Object用户分组导入配置
└─isMatchingboolean是否进行用户匹配(true, false)
└─matchingTypeint32匹配方式(1: 精准匹配, 2: 模糊匹配)└─identifyWayint32 模糊匹配 必传->身份识别方式(1: 开放平台unionid>公众号openid>手机号>用户ID, 2: 用户ID>手机号>公众号openid>开放平台unionid)└─accurateMatchTypestring精确匹配的应用类型(gzh: 公众号, workwechat: 企业微信, YOUZAN: 有赞, EZR: 驿客, contentminiapp: 小程序, contenthome: 小程序首页)└─accurateMatchValuestring精确匹配的应用ID
└─optTypestring导入方式(add: 新增, delete: 删除)
data
Array
用户分组。导入数据,每次最大500条用户分组。导入数据,每次最大500条。部门匹配优先级 wxDeptId > thirdDeptId > deptId,匹配标识选填一种
└─identities


     └─identityValue


     └─identityType


     └─platform


     └─appid


     └─mpid


     └─isWeChatEcosystem


└─groups└─identityTypestring精确匹配 必填,身份识别类型(phone: 手机号码, id: 用户ID, openid: 公众号openid, unionid: 开放平台unionid)
└─thirdId└─categoryTypestring用户ID
└─openid└─deptIdstring公众号openid
└─unionid└─thirdDeptIdstring开放平台unionid
└─phone└─wxDeptIdstring手机└─groupsstring用户分组,多个用,号隔开



返回参数


属性

类型

说明

code
string
响应状态码。200-请求成功, 100100-appid、secret错误, 100200-token错误 ,100300-授权code错误
data
long
导入批次ID,用来查询导入结果,查询数据导入结果
errorCode
string
错误码
msg
string消息提示

...