文档中心 > API类目 > 无线安全聚安全云端对外

alibaba.security.jaq.taichuan.register.data.query (查询某人的注册资料)

查询某人的注册资料,返回注册资料

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
source String 必须 source01 来源
account_id String 必须 person01 用户ID

响应参数

名称 类型 示例值 描述
result RpResult {"result":{"aaa":"bbb"}} 结果对象
  • result
  • RpUser
  • {"aaa":"bbb"}
  • 结果信息
  • └ url
  • String
  • xxx/aaa/bbb
  • 图片URL
  • └ account_id
  • String
  • ffff
  • 用户账户ID
  • └ request_id
  • String
  • aaaa
  • 请求ID
  • err_code
  • RpErrorCode
  • {"error_code":123,"error_name":"name","error_msg":"msg"}
  • 错误码信息
  • └ error_code
  • Number
  • 123
  • 错误码
  • └ error_name
  • String
  • error_name
  • 错误名称
  • └ error_msg
  • String
  • error_msg
  • 错误信息
  • └ success
  • Boolean
  • true
  • 调用成功与否

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityJaqTaichuanRegisterDataQueryRequest req = new AlibabaSecurityJaqTaichuanRegisterDataQueryRequest();
req.setSource("source01");
req.setAccountId("person01");
AlibabaSecurityJaqTaichuanRegisterDataQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_jaq_taichuan_register_data_query_response>
    <result>
        <result>
            <url>xxx/aaa/bbb</url>
            <account_id>ffff</account_id>
        </result>
        <request_id>aaaa</request_id>
        <err_code>
            <error_code>123</error_code>
            <error_name>error_name</error_name>
            <error_msg>error_msg</error_msg>
        </err_code>
        <success>true</success>
    </result>
</alibaba_security_jaq_taichuan_register_data_query_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

返回
顶部