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

getThirdAccountByTheirId

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
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
  • ThirdAccount
  • 参数model
  • └ bind_status
  • Number
  • 0
  • 参数bindStatus
  • └ data
  • String
  • foo
  • 参数data
  • └ gmt_create
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtCreate
  • └ gmt_modified
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtModified
  • └ id
  • Number
  • 0
  • 参数id
  • └ third_account_id
  • String
  • foo
  • 参数thirdAccountId
  • └ third_account_type
  • Number
  • 0
  • 参数thirdAccountType
  • └ user_id
  • Number
  • 0
  • 参数userId
  • └ success
  • Boolean
  • false
  • 参数success

请求示例

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

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_mp_uc_accountbind_getthirdaccountbytheirid_response>
    <result>
        <biz_ext_map>{}</biz_ext_map>
        <error_code>foo</error_code>
        <error_msg>foo</error_msg>
        <model>
            <bind_status>0</bind_status>
            <data>foo</data>
            <gmt_create>2017-01-01 00:00:00</gmt_create>
            <gmt_modified>2017-01-01 00:00:00</gmt_modified>
            <id>0</id>
            <third_account_id>foo</third_account_id>
            <third_account_type>0</third_account_type>
            <user_id>0</user_id>
        </model>
        <success>false</success>
    </result>
</alibaba_damai_mp_uc_accountbind_getthirdaccountbytheirid_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

返回
顶部