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

tmall.alihouse.customer.laike.auth.data.back (客户数据回流需要授权api)

客户数据回流需要授权api

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_exist_data_back_flow_query AppExistDataBackFlowQuery 必须 请求对象
  • └ biz_type
  • Number
  • 必须
  • 2
  • 业务域 2:二手房
  • └ data_type
  • Number
  • 必须
  • 4
  • 数据类型 4:客户数据 5:跟进明细数据
  • └ msg_info
  • String
  • 必须
  • JSON格式的字符串
  • JSON格式的字符串

响应参数

名称 类型 示例值 描述
result_msg String 成功 返回信息
result_code String success 返回码 success 成功 非success 失败
data Boolean TRUE 执行结果
is_success Boolean true 状态 true/false

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAlihouseCustomerLaikeAuthDataBackRequest req = new TmallAlihouseCustomerLaikeAuthDataBackRequest();
TmallAlihouseCustomerLaikeAuthDataBackRequest.AppExistDataBackFlowQuery obj1 = new TmallAlihouseCustomerLaikeAuthDataBackRequest.AppExistDataBackFlowQuery();
obj1.setBizType(2L);
obj1.setDataType(4L);
obj1.setMsgInfo("JSON格式的字符串");
req.setAppExistDataBackFlowQuery(obj1);
TmallAlihouseCustomerLaikeAuthDataBackResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_alihouse_customer_laike_auth_data_back_response>
    <result_msg>成功</result_msg>
    <result_code>success</result_code>
    <data>TRUE</data>
    <is_success>true</is_success>
</tmall_alihouse_customer_laike_auth_data_back_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

返回
顶部