alibaba.damai.mp.uc.accountbind.getaccountbythirdaccountid (三方账号关联服务getAccountByThirdAccountId)

getAccountByThirdAccountId

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
third_account_id String 可选 foo 入参thirdAccountId
third_account_type Number 可选 0 入参thirdAccountType

响应参数

名称 类型 示例值 描述
result MpResult result
  • └ biz_ext_map
  • String
  • {}
  • 参数bizExtMap
  • └ error_code
  • String
  • foo
  • 参数errorCode
  • └ error_msg
  • String
  • foo
  • 参数errorMsg
  • model
  • UserAccount
  • 参数model
  • └ domain_id
  • Number
  • 0
  • 参数domainId
  • └ email
  • String
  • foo
  • 参数email
  • └ gmt_create
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtCreate
  • └ gmt_havana_active
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtHavanaActive
  • └ gmt_modified
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtModified
  • └ havana_id
  • Number
  • 0
  • 参数havanaId
  • └ id
  • Number
  • 0
  • 参数id
  • └ mobile
  • String
  • foo
  • 参数mobile
  • └ nation_prefix
  • String
  • foo
  • 参数nationPrefix
  • └ nickname
  • String
  • foo
  • 参数nickname
  • └ password
  • String
  • foo
  • 参数password
  • └ user_status
  • Number
  • 0
  • 参数userStatus
  • └ success
  • Boolean
  • false
  • 参数success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMpUcAccountbindGetaccountbythirdaccountidRequest req = new AlibabaDamaiMpUcAccountbindGetaccountbythirdaccountidRequest();
req.setThirdAccountId("foo");
req.setThirdAccountType(0L);
AlibabaDamaiMpUcAccountbindGetaccountbythirdaccountidResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_mp_uc_accountbind_getaccountbythirdaccountid_response>
    <result>
        <biz_ext_map>{}</biz_ext_map>
        <error_code>foo</error_code>
        <error_msg>foo</error_msg>
        <model>
            <domain_id>0</domain_id>
            <email>foo</email>
            <gmt_create>2017-01-01 00:00:00</gmt_create>
            <gmt_havana_active>2017-01-01 00:00:00</gmt_havana_active>
            <gmt_modified>2017-01-01 00:00:00</gmt_modified>
            <havana_id>0</havana_id>
            <id>0</id>
            <mobile>foo</mobile>
            <nation_prefix>foo</nation_prefix>
            <nickname>foo</nickname>
            <password>foo</password>
            <user_status>0</user_status>
        </model>
        <success>false</success>
    </result>
</alibaba_damai_mp_uc_accountbind_getaccountbythirdaccountid_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

返回
顶部