taobao.user.mobile.cancelled.notice (运营商手机注销通知接口)

当手机号发生销户时,运营商提供通知消息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
mobile String 必须 14415141349 注销手机号
cancelled_time Date 可选 2015-12-14 13:50:08 手机号注销时间
vendor String 可选 2 1:移动; 2:联通; 3:电信; 4:国际; 5:广东移动; 6:北京移动

响应参数

名称 类型 示例值 描述
message String success 执行返回信息说明
isSuccess Boolean true 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UserMobileCancelledNoticeRequest req = new UserMobileCancelledNoticeRequest();
req.setMobile("14415141349");
req.setCancelledTime(StringUtils.parseDateTime("2015-12-14 13:50:08"));
req.setVendor("2");
UserMobileCancelledNoticeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<user_mobile_cancelled_notice_response>
    <message>success</message>
    <isSuccess>true</isSuccess>
</user_mobile_cancelled_notice_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

返回
顶部