taobao.trade.wtvertical.get (网厅垂直信息查询接口)

网厅订单垂直信息的查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tids String [] 必须 110770592823138
  • 最大列表长度:15
  • 主订单列表,用“,”分隔tid的字符串,最大列表长度为15

    响应参数

    名称 类型 示例值 描述
    wtext_results WtExtResult [] 返回交易垂直信息的数据结构
    • └ tid
    • Number
    • 92018009612550
    • 交易id
    • └ phone_num
    • String
    • 13756671430
    • 用户手机号码
    • └ phone_city_code
    • String
    • 130012
    • 手机号码所在城市的区位码
    • └ phone_province_code
    • String
    • 130000
    • 手机号码所在省份的区位码
    • └ plan_title
    • String
    • 充话费送诺基亚手机
    • 套餐名称
    • └ out_plan_id
    • String
    • Nokia ESC
    • 套餐商家编码
    • └ out_package_id
    • String
    • 5534
    • 合约计划商家编码
    • └ effect_rule
    • Number
    • 5531
    • 套餐开通规则
    • └ agreement_id
    • Number
    • 1523
    • 协议商家编码
    • └ phone_owner_name
    • String
    • 王晓华
    • 机主姓名
    • └ cert_type
    • Number
    • 1
    • 证件类型
    • └ cert_card_num
    • String
    • 221104198602157825
    • 证件号
    • └ phone_deposit
    • Number
    • 59950
    • 号码预存款(单位是分)
    • └ phone_free_deposit
    • Number
    • 350
    • 减免 号码预存款(单位是分)
    • └ auth_type
    • String
    • V1
    • 实人认证方式,如:V1,V2,默认V1
    • └ user_type
    • Number
    • 1
    • 合约用户类型,0=老用户合约机,1=新用户合约机,2=新用户合约号卡,99=其它(默认)
    • └ contract_type
    • Number
    • 0
    • 合约类型,合约类目, 0=机卡合约,1001=购物送,1002=阿里通信号卡合约,1003=信用购,1007=话费充值卡,1005=游戏点卡,1006=QQ点卡,99=未知(默认)
    • └ attr
    • String
    • 预留属性字符串
    • └ address
    • String
    • 安装地址
    • └ owner_name
    • String
    • 张三
    • 联系人
    • └ account
    • String
    • 12323
    • 宽带账号
    • └ promotion_desc
    • String
    • 描述信息
    • 描述信息
    • └ biometric_seq
    • String
    • V46414f638b17611e8bbf2000c2960b07d
    • 活体流水id
    total_results Number 30 返回查询记录的条数

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TradeWtverticalGetRequest req = new TradeWtverticalGetRequest();
    req.setTids("110770592823138");
    TradeWtverticalGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <trade_wtvertical_get_response>
        <wtext_results>
            <wt_ext_result>
                <tid>92018009612550</tid>
                <phone_num>13756671430</phone_num>
                <phone_city_code>130012</phone_city_code>
                <phone_province_code>130000</phone_province_code>
                <plan_title>充话费送诺基亚手机</plan_title>
                <out_plan_id>Nokia ESC</out_plan_id>
                <out_package_id>5534</out_package_id>
                <effect_rule>5531</effect_rule>
                <agreement_id>1523</agreement_id>
                <phone_owner_name>王晓华</phone_owner_name>
                <cert_type>1</cert_type>
                <cert_card_num>221104198602157825</cert_card_num>
                <phone_deposit>59950</phone_deposit>
                <phone_free_deposit>350</phone_free_deposit>
                <auth_type>V1</auth_type>
                <user_type>1</user_type>
                <contract_type>0</contract_type>
                <attr>无</attr>
                <address>无</address>
                <owner_name>张三</owner_name>
                <account>12323</account>
                <promotion_desc>描述信息</promotion_desc>
                <biometric_seq>V46414f638b17611e8bbf2000c2960b07d</biometric_seq>
            </wt_ext_result>
        </wtext_results>
        <total_results>30</total_results>
    </trade_wtvertical_get_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>

    错误码解释

    错误码 错误描述 解决方案
    isv.invalid-parameter:wtextattribute 网厅订单传入的属性不合法,订单数据在写入的时候非法的数字id,不能转换为数字。 传入合法的订单属性,不能传入不合法的数字id
    isv.invalid-parameter:tid 订单类型不对 或不是对应卖家的订单等 确认是网厅订单,且入参tid 和sessionkey 属于同一个卖家
    isv.trade-not-exist isv.trade-not-exist isv.trade-not-exist
    isp.trade-service-failed isp.trade-service-failed isp.trade-service-failed

    API工具

    如何获得此API

    FAQ

    返回
    顶部