文档中心 > API类目 > 天猫好房用户API

tmall.alihouse.customer.laike.wechat.relation.syns (来客通用户绑定微信服务号接口数据同步)

来客通用户绑定微信服务号接口数据同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
we_chat_query WeChatQuery 必须 请求消息提
  • └ open_uid
  • String
  • 必须
  • sdfvbnhgfdsxcvbgfd2345
  • 微信openUid
  • └ biz_type
  • Number
  • 必须
  • 1
  • 业务域 1:新房 2:二租
  • └ mobile_phone
  • String
  • 必须
  • 13122801032
  • ETC手机号
  • └ bind_type
  • Number
  • 必须
  • 1
  • 1:绑定

响应参数

名称 类型 示例值 描述
msg_info String 成功 描述
msg_code String success code码值
is_success Boolean true 是否请求到服务器

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAlihouseCustomerLaikeWechatRelationSynsRequest req = new TmallAlihouseCustomerLaikeWechatRelationSynsRequest();
TmallAlihouseCustomerLaikeWechatRelationSynsRequest.WeChatQuery obj1 = new TmallAlihouseCustomerLaikeWechatRelationSynsRequest.WeChatQuery();
obj1.setOpenUid("sdfvbnhgfdsxcvbgfd2345");
obj1.setBizType(1L);
obj1.setMobilePhone("13122801032");
obj1.setBindType(1L);
req.setWeChatQuery(obj1);
TmallAlihouseCustomerLaikeWechatRelationSynsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_alihouse_customer_laike_wechat_relation_syns_response>
    <msg_info>成功</msg_info>
    <msg_code>success</msg_code>
    <is_success>true</is_success>
</tmall_alihouse_customer_laike_wechat_relation_syns_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部