alibaba.damai.mp.uc.account.accountexists (用户账号服务accountExists)

accountExists

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
domain_id Number 可选 0 入参domainId
nation_prefix String 可选 foo 入参nationPrefix
account String 可选 foo 入参account
mobile_enable Boolean 可选 false 入参mobileEnable

响应参数

名称 类型 示例值 描述
result MpResult result
  • └ biz_ext_map
  • String
  • {}
  • 参数bizExtMap
  • └ error_code
  • String
  • foo
  • 参数errorCode
  • └ error_msg
  • String
  • foo
  • 参数errorMsg
  • └ model
  • Boolean
  • false
  • 参数model
  • └ success
  • Boolean
  • false
  • 参数success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
6
7
8
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMpUcAccountAccountexistsRequest req = new AlibabaDamaiMpUcAccountAccountexistsRequest();
req.setDomainId(0L);
req.setNationPrefix("foo");
req.setAccount("foo");
req.setMobileEnable(false);
AlibabaDamaiMpUcAccountAccountexistsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
7
8
9
<alibaba_damai_mp_uc_account_accountexists_response>
    <result>
        <biz_ext_map>{}</biz_ext_map>
        <error_code>foo</error_code>
        <error_msg>foo</error_msg>
        <model>false</model>
        <success>false</success>
    </result>
</alibaba_damai_mp_uc_account_accountexists_response>

异常示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<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

返回
顶部