注意:以下文档只适用于TOP接口,请谨慎使用!

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

tmall.aliauto.member.carprofile.tmyangche.import (导入天猫养车侧车档)

导入天猫养车侧车档

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
car_profile_dto OutCarProfileImportDTO 必须 车档传入数据
  • └ type
  • String
  • 必须
  • queryCallback
  • 数据来源类型
  • └ acid
  • Number
  • 必须
  • 500001111
  • 五级车型id
  • └ car_license
  • String
  • 必须
  • xxxxxxxxx
  • 车牌号
  • └ engine_no
  • String
  • 必须
  • xxxxxxxxx
  • 发动机号
  • └ car_vin
  • String
  • 必须
  • xxxxxxxxx
  • 车架号
  • └ reg_time
  • String
  • 必须
  • 2020-12-21
  • 初登时间
  • └ brand_model
  • String
  • 必须
  • 奇瑞SQR7152T199轿车
  • 车辆型号
  • └ use_character
  • String
  • 必须
  • 非营运
  • 营运性质
  • └ owner
  • Boolean
  • 必须
  • true
  • 是否为本人车
  • └ user_id
  • String
  • 必须
  • AAHyBmloAHgxVLShbatMXyzm
  • 用户openId

响应参数

名称 类型 示例值 描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoMemberCarprofileTmyangcheImportRequest req = new TmallAliautoMemberCarprofileTmyangcheImportRequest();
TmallAliautoMemberCarprofileTmyangcheImportRequest.OutCarProfileImportDTO obj1 = new TmallAliautoMemberCarprofileTmyangcheImportRequest.OutCarProfileImportDTO();
obj1.setType("queryCallback");
obj1.setAcid(500001111L);
obj1.setCarLicense("xxxxxxxxx");
obj1.setEngineNo("xxxxxxxxx");
obj1.setCarVin("xxxxxxxxx");
obj1.setRegTime("2020-12-21");
obj1.setBrandModel("奇瑞SQR7152T199轿车");
obj1.setUseCharacter("非营运");
obj1.setOwner(true);
obj1.setUserId("AAHyBmloAHgxVLShbatMXyzm");
req.setCarProfileDto(obj1);
TmallAliautoMemberCarprofileTmyangcheImportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_member_carprofile_tmyangche_import_response>
</tmall_aliauto_member_carprofile_tmyangche_import_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

返回
顶部