alibaba.idle.interact.loan.user.query (查询用户信息)

查询用户信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user String 必须 3 用户标识
scene_code String 必须 xx 场景
env String 必须 pre 环境

响应参数

名称 类型 示例值 描述
idle_point_result IdlePointResult idlePointResult
  • └ success
  • Boolean
  • false
  • success
  • idle_loan_personal_info
  • IdleLoanPersonalInfo
  • data
  • └ scene_code
  • String
  • xxxxx
  • sceneCode
  • real_name_info
  • RealNameInfoDto
  • realNameInfo
  • └ credential_number
  • String
  • xxxxx
  • credentialNumber
  • └ real_name
  • String
  • xxxxx
  • realName
  • └ credential_back_image
  • String
  • xxxxx
  • credentialBackImage
  • └ credential_start_date
  • String
  • xxxxx
  • credentialStartDate
  • └ credential_gmt_end
  • String
  • xxxxx
  • credentialGmtEnd
  • └ gender
  • Number
  • 6
  • gender
  • └ birth_date
  • String
  • xxxxx
  • birthDate
  • └ nation
  • String
  • xxxxx
  • nation
  • └ sign_organization
  • String
  • xxxxx
  • signOrganization
  • └ address
  • String
  • xxxxx
  • address
  • └ credential_front_image
  • String
  • xxx
  • credentialFrontImage
  • └ ext_infos
  • String
  • xxx
  • extInfos
  • biz_error
  • BizError
  • err
  • └ err_code
  • String
  • xx
  • 错误码
  • └ err_msg
  • String
  • xx
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleInteractLoanUserQueryRequest req = new AlibabaIdleInteractLoanUserQueryRequest();
req.setUser("3");
req.setSceneCode("xx");
req.setEnv("pre");
AlibabaIdleInteractLoanUserQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_interact_loan_user_query_response>
    <idle_point_result>
        <success>false</success>
        <idle_loan_personal_info>
            <scene_code>xxxxx</scene_code>
            <real_name_info>
                <credential_number>xxxxx</credential_number>
                <real_name>xxxxx</real_name>
                <credential_back_image>xxxxx</credential_back_image>
                <credential_start_date>xxxxx</credential_start_date>
                <credential_gmt_end>xxxxx</credential_gmt_end>
                <gender>6</gender>
                <birth_date>xxxxx</birth_date>
                <nation>xxxxx</nation>
                <sign_organization>xxxxx</sign_organization>
                <address>xxxxx</address>
                <credential_front_image>xxx</credential_front_image>
                <ext_infos>xxx</ext_infos>
            </real_name_info>
        </idle_loan_personal_info>
        <biz_error>
            <err_code>xx</err_code>
            <err_msg>xx</err_msg>
        </biz_error>
    </idle_point_result>
</alibaba_idle_interact_loan_user_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

返回
顶部