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

taobao.aliauto.two.wheel.activation.sync (阿里汽车-二轮激活信息同步)

阿里汽车-二轮激活信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
risk_info_sync_request RiskInfoSyncRequest 必须 风控同步请求
  • contents
  • RiskInfoSyncDTO []
  • 必须
  • 同步的内容列表,一批次最大100条
  • └ vin_code_create_time
  • Date
  • 必须
  • 2000-01-01 00:00:00
  • 门店在销售系统中上报给品牌的时间
  • └ vin_code
  • String
  • 必须
  • 123
  • 车辆唯一识别码
  • └ buyer_phone
  • String
  • 可选
  • 13012345678
  • 购买人手机号
  • └ tc_order_id
  • Number
  • 必须
  • 3882527336184474047
  • 淘系主订单ID
  • └ tc_sub_order_id
  • Number
  • 必须
  • 3882527336184474048
  • 淘系子订单ID
  • └ activation_status
  • Number
  • 必须
  • 0
  • 车辆激活状态 0:未激活,1:已激活
  • └ activation_time
  • Date
  • 可选
  • 2000-01-01 00:00:00
  • 车辆激活时间
  • └ buyer_name
  • String
  • 可选
  • 王五
  • 购买人姓名
  • └ invoice_status
  • Number
  • 可选
  • 0
  • 发票开具状态 0:未开票,1:已开票
  • └ store_name
  • String
  • 可选
  • 文一西路店
  • 核销门店名称
  • └ store_prov_name
  • String
  • 可选
  • 浙江省
  • 核销门店 - 省名称
  • └ store_city_name
  • String
  • 可选
  • 杭州市
  • 核销门店 - 市名称
  • └ store_district_name
  • String
  • 可选
  • 余杭区
  • 核销门店 - 区名称
  • └ store_detail_address
  • String
  • 可选
  • 文一西路969号
  • 核销门店 - 详细地址

响应参数

名称 类型 示例值 描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliautoTwoWheelActivationSyncRequest req = new AliautoTwoWheelActivationSyncRequest();
AliautoTwoWheelActivationSyncRequest.RiskInfoSyncRequest obj1 = new AliautoTwoWheelActivationSyncRequest.RiskInfoSyncRequest();
List<AliautoTwoWheelActivationSyncRequest.RiskInfoSyncDTO> list3 = new ArrayList<AliautoTwoWheelActivationSyncRequest.RiskInfoSyncDTO>();
AliautoTwoWheelActivationSyncRequest.RiskInfoSyncDTO obj4 = new AliautoTwoWheelActivationSyncRequest.RiskInfoSyncDTO();
list3.add(obj4);
obj4.setVinCodeCreateTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
obj4.setVinCode("123");
obj4.setBuyerPhone("13012345678");
obj4.setTcOrderId(3882527336184474047L);
obj4.setTcSubOrderId(3882527336184474048L);
obj4.setActivationStatus(0L);
obj4.setActivationTime(StringUtils.parseDateTime("2000-01-01 00:00:00"));
obj4.setBuyerName("王五");
obj4.setInvoiceStatus(0L);
obj4.setStoreName("文一西路店");
obj4.setStoreProvName("浙江省");
obj4.setStoreCityName("杭州市");
obj4.setStoreDistrictName("余杭区");
obj4.setStoreDetailAddress("文一西路969号");
obj1.setContents(list3);
req.setRiskInfoSyncRequest(obj1);
AliautoTwoWheelActivationSyncResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliauto_two_wheel_activation_sync_response>
</aliauto_two_wheel_activation_sync_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

返回
顶部