文档中心 > API类目 > 本地生活用户增长互动业务

alibaba.alsc.growth.interactive.mini.game.identity.authorization.query (本地生活互动游戏身份认证查询)

本地生活互动游戏身份认证查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
base_request BaseRequest 必须 请求参数
  • └ biz_scene
  • String
  • 必须
  • xxx
  • 业务场景
  • └ open_id
  • String
  • 必须
  • AAFh0z9sAOAaPm8T4L3O22tX
  • openId

响应参数

名称 类型 示例值 描述
trace_id String asfas 链路id
data RealNameInfoDTO asdf 服务端返回数据
  • └ authentication
  • Boolean
  • true
  • 是否已实名
  • └ adult
  • Boolean
  • true
  • 是否成年
biz_success Boolean false 接口调用是否成功
biz_error_code String SYSTEM_ERROR 错误码
biz_error_msg String 系统异常 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscGrowthInteractiveMiniGameIdentityAuthorizationQueryRequest req = new AlibabaAlscGrowthInteractiveMiniGameIdentityAuthorizationQueryRequest();
AlibabaAlscGrowthInteractiveMiniGameIdentityAuthorizationQueryRequest.BaseRequest obj1 = new AlibabaAlscGrowthInteractiveMiniGameIdentityAuthorizationQueryRequest.BaseRequest();
obj1.setBizScene("xxx");
obj1.setOpenId("AAFh0z9sAOAaPm8T4L3O22tX");
req.setBaseRequest(obj1);
AlibabaAlscGrowthInteractiveMiniGameIdentityAuthorizationQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_growth_interactive_mini_game_identity_authorization_query_response>
    <trace_id>asfas</trace_id>
    <data>
        <authentication>true</authentication>
        <adult>true</adult>
    </data>
    <biz_success>false</biz_success>
    <biz_error_code>SYSTEM_ERROR</biz_error_code>
    <biz_error_msg>系统异常</biz_error_msg>
</alibaba_alsc_growth_interactive_mini_game_identity_authorization_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

返回
顶部