Skip to content

根据手机号码获取人员编码

基本信息

中文名: 根据手机号码获取人员编码

接口名: /mozi/employee/get_by_mobile

所在目录: 获取通讯录用户信息

调用方式: GET(HTTPS)

请求参数

名称类型是否必填示例值描述
areaCodeString86手机区号(没有特别说明,固定填写86)
tenantIdLong1租户ID
namespaceStringlocal账号类型(没有特别说明,固定填写local)
mobileString180xxxx1234手机号码(明文)

返回参数

参数类型示例值说明
_RequestIdString网关请求ID
successBooleantrue网关调用是否成功
errorCodeString0网关错误码
HostIdString网关HostId
CodeString网关Code
errorMsgString网关错误信息
errorLevelString网关错误级别
MessageString网关信息
content.successBooleantrue业务调用是否成功
content.requestIdString业务请求ID
content.responseCodeString0业务响应Code(210116:该手机号不存在;215010:你没有查询该手机号所处通讯录的权限)
content.responseMessageString业务响应信息
content.data业务返回值
-accountIdNumber100001账号名
-employeeCodeStringGE_123员工code