taobao.wtt.trade.service.get (获取网厅号卡垂直标信息)

查询网厅订单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_order Number 必须 1234567777654543 订单ID

响应参数

名称 类型 示例值 描述
modules WtverticalDto 返回实例 返回实例
  • └ phone_no
  • String
  • 19800009999
  • 手机号码
  • └ biz_order_id
  • String
  • 19990000838789
  • 订单号
  • └ phone_city_code
  • String
  • 199008
  • 城市区号
  • └ phone_province_code
  • String
  • 199880
  • 省区号
  • └ attr
  • String
  • 属性
  • 属性
  • └ phone_city_name
  • String
  • 杭州
  • 号码归属地城市
  • └ phone_province_name
  • String
  • 浙江
  • 号码归属地省
  • └ plan_title
  • String
  • 充话费送诺基亚手机
  • 套餐名称
  • └ out_plan_id
  • String
  • Nokia ESC
  • 套餐商家编码
  • └ effect_rule
  • String
  • 5531
  • 套餐开通规则
  • └ agreement_id
  • String
  • 1523
  • 协议商家编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WttTradeServiceGetRequest req = new WttTradeServiceGetRequest();
req.setBizOrder(1234567777654543L);
WttTradeServiceGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wtt_trade_service_get_response>
    <modules>
        <phone_no>19800009999</phone_no>
        <biz_order_id>19990000838789</biz_order_id>
        <phone_city_code>199008</phone_city_code>
        <phone_province_code>199880</phone_province_code>
        <attr>属性</attr>
        <phone_city_name>杭州</phone_city_name>
        <phone_province_name>浙江</phone_province_name>
        <plan_title>充话费送诺基亚手机</plan_title>
        <out_plan_id>Nokia ESC</out_plan_id>
        <effect_rule>5531</effect_rule>
        <agreement_id>1523</agreement_id>
    </modules>
</wtt_trade_service_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>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部