文档中心 > API类目 > 天猫汽车

tmall.aliauto.lead.feed.back (天猫汽车线索-线索信息回传)

天猫汽车线索-线索信息回传

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
lead_feed_back_dto LeadFeedBackDTO 可选 回传信息对象
  • └ lead_status
  • String
  • 可选
  • DELIVERY_COMPLETED
  • 车辆交付完成
  • └ first_touch
  • Boolean
  • 可选
  • true
  • 是否首触
  • └ lead_no
  • Number
  • 必须
  • 123456
  • 线索编号
  • └ call_status
  • String
  • 可选
  • CONNECTED
  • 线索回拨状态

响应参数

名称 类型 示例值 描述
result_success Boolean true 返回状态
msg_info String 信息 msgInfo
msg_code String 200 msgCode

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoLeadFeedBackRequest req = new TmallAliautoLeadFeedBackRequest();
TmallAliautoLeadFeedBackRequest.LeadFeedBackDTO obj1 = new TmallAliautoLeadFeedBackRequest.LeadFeedBackDTO();
obj1.setLeadStatus("DELIVERY_COMPLETED");
obj1.setFirstTouch(true);
obj1.setLeadNo(123456L);
obj1.setCallStatus("CONNECTED");
req.setLeadFeedBackDto(obj1);
TmallAliautoLeadFeedBackResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_lead_feed_back_response>
    <result_success>true</result_success>
    <msg_info>信息</msg_info>
    <msg_code>200</msg_code>
</tmall_aliauto_lead_feed_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

返回
顶部