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

tmall.car.lease.citysynchronize (天猫开新车租后分期城市信息同步)

天猫开新车租后分期城市信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_area_dto AreaDto 可选 地址信息
  • └ company_adress
  • String
  • 必须
  • 中南海1号
  • 公司详细地址
  • └ company_email
  • String
  • 必须
  • likeqiang@china.gov
  • 公司email
  • └ company_name
  • String
  • 必须
  • 网监局
  • 公司名称
  • └ company_phone
  • String
  • 可选
  • 13888888888
  • 电话
  • └ division_id
  • Number
  • 可选
  • 110100
  • 行政区域地址,菜鸟地址库2级或者3级地址
  • └ division_name
  • String
  • 可选
  • 义乌
  • 行政区名称
  • └ status
  • Number
  • 可选
  • 1
  • 状态:1正常,2删除

响应参数

名称 类型 示例值 描述
result ResultVo result
  • └ cost_time
  • Number
  • 100
  • costTime
  • └ gmt_current_time
  • Number
  • gmtCurrentTime
  • └ msg_code
  • String
  • msgCode
  • └ msg_info
  • String
  • msgInfo
  • └ object
  • Boolean
  • true
  • object
  • └ success
  • Boolean
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallCarLeaseCitysynchronizeRequest req = new TmallCarLeaseCitysynchronizeRequest();
TmallCarLeaseCitysynchronizeRequest.AreaDto obj1 = new TmallCarLeaseCitysynchronizeRequest.AreaDto();
obj1.setCompanyAdress("中南海1号");
obj1.setCompanyEmail("likeqiang@china.gov");
obj1.setCompanyName("网监局");
obj1.setCompanyPhone("13888888888");
obj1.setDivisionId(110100L);
obj1.setDivisionName("义乌");
obj1.setStatus(1L);
req.setParamAreaDto(obj1);
TmallCarLeaseCitysynchronizeResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_car_lease_citysynchronize_response>
    <result>
        <cost_time>100</cost_time>
        <gmt_current_time></gmt_current_time>
        <msg_code></msg_code>
        <msg_info></msg_info>
        <object>true</object>
        <success></success>
    </result>
</tmall_car_lease_citysynchronize_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

返回
顶部