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

qimen.tmall.car.lease.signstatus.synchronize (天猫开新车租后奇门接口切换方案和签署协议状态信息同步)

天猫开新车租后奇门接口切换方案和签署协议状态信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
orderId Number 必须 1000003461011111014
  • 最大长度:19
  • 天猫开新车订单号
    typeDTO Struct 必须 类型
    • └ restAmount
    • String
    • 可选
    • 100000
    • 尾款金额,单位:分
    • └ monthlyPay
    • String
    • 可选
    • 10000
    • 月还款金额,单位:分
    • └ month
    • String
    • 可选
    • 12
    • 分期月数
    • └ type
    • String
    • 可选
    • 2
    • 0.退车,1.买断,2.分期,3.续租
    status Number 必须 1 type=分期,status=1,代表选择方案,2代表签署协议,其他type 下status不需要关注
    cityId Number 可选 330100
  • 最大长度:12
  • 城市id
    districtId Number 可选 330102
  • 最大长度:12
  • 区县id

    响应参数

    名称 类型 示例值 描述
    success String ture 响应结果
    msgCode String 002 错误码
    msgDesc String XXXXX 错误描述

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
    TmallCarLeaseSignstatusSynchronizeRequest req = new TmallCarLeaseSignstatusSynchronizeRequest();
    req.setOrderId(1000003461011111014L);
    TmallCarLeaseSignstatusSynchronizeRequest.Struct obj1 = new TmallCarLeaseSignstatusSynchronizeRequest.Struct();
    obj1.setRestAmount("100000");
    obj1.setMonthlyPay("10000");
    obj1.setMonth("12");
    obj1.setType("2");
    req.setTypeDTO(obj1);
    req.setStatus(1L);
    req.setCityId(330100L);
    req.setDistrictId(330102L);
    TmallCarLeaseSignstatusSynchronizeResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <success>ture</success>
    <msgCode>002</msgCode>
    <msgDesc>XXXXX</msgDesc>
    

    异常示例

    • 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

    返回
    顶部