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

tmall.alihouse.customer.laike.data.back (天猫好房来客通数据回流)

天猫好房来客通数据回流

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_data_back_flow_query AppDataBackFlowQuery 可选 数据回流请求对象
  • └ biz_type
  • Number
  • 必须
  • 1
  • 业务域1:新房 2:二手房 3:租房
  • └ data_type
  • Number
  • 必须
  • 1
  • 数据类型 1:工单数据 2:客户数据 3:跟进明细数据
  • └ msg_info
  • String
  • 必须
  • 对象字符信息
  • 数据内容

响应参数

名称 类型 示例值 描述
result Result 结果返回信息
  • └ result_msg
  • String
  • 成功
  • code码值描述,可区分异常信息
  • └ result_code
  • String
  • success
  • code码值,可区分异常信息
  • └ data
  • Boolean
  • true
  • 结果执行是否正常
  • └ is_success
  • Boolean
  • true
  • 接口是否请求已到达

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAlihouseCustomerLaikeDataBackRequest req = new TmallAlihouseCustomerLaikeDataBackRequest();
TmallAlihouseCustomerLaikeDataBackRequest.AppDataBackFlowQuery obj1 = new TmallAlihouseCustomerLaikeDataBackRequest.AppDataBackFlowQuery();
obj1.setBizType(1L);
obj1.setDataType(1L);
obj1.setMsgInfo("对象字符信息");
req.setAppDataBackFlowQuery(obj1);
TmallAlihouseCustomerLaikeDataBackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_alihouse_customer_laike_data_back_response>
    <result>
        <result_msg>成功</result_msg>
        <result_code>success</result_code>
        <data>true</data>
        <is_success>true</is_success>
    </result>
</tmall_alihouse_customer_laike_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

返回
顶部