根据邮箱获取帐号
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| domain_id | Number | 可选 | 0 | 入参domainId | |
| String | 可选 | foo | 入参email |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | MpResult | result | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMpUcUserprofileGetuserbyemailRequest req = new AlibabaDamaiMpUcUserprofileGetuserbyemailRequest();
req.setDomainId(0L);
req.setEmail("foo");
AlibabaDamaiMpUcUserprofileGetuserbyemailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_damai_mp_uc_userprofile_getuserbyemail_response>
<result>
<biz_ext_map>{}</biz_ext_map>
<error_code>foo</error_code>
<error_msg>foo</error_msg>
<model>
<account>
<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>
</account>
<profile>
<addr_city_id>0</addr_city_id>
<addr_province_id>0</addr_province_id>
<addr_region_id>0</addr_region_id>
<birthday>foo</birthday>
<education_level>0</education_level>
<email>foo</email>
<gmt_create>2017-01-01 00:00:00</gmt_create>
<gmt_modified>2017-01-01 00:00:00</gmt_modified>
<hobby>foo</hobby>
<home_city_id>0</home_city_id>
<home_province_id>0</home_province_id>
<home_region_id>0</home_region_id>
<id>0</id>
<identity_card>foo</identity_card>
<industry>0</industry>
<marriage_status>0</marriage_status>
<mobile>foo</mobile>
<month_income>0</month_income>
<nation_prefix>foo</nation_prefix>
<nickname>foo</nickname>
<phone>foo</phone>
<real_name>foo</real_name>
<sex>0</sex>
</profile>
<user_source>
<account_type>0</account_type>
<business_type>0</business_type>
<customer_kind>0</customer_kind>
<device_id>foo</device_id>
<device_type>0</device_type>
<gmt_create>2017-01-01 00:00:00</gmt_create>
<gmt_modified>2017-01-01 00:00:00</gmt_modified>
<marketing_mode>0</marketing_mode>
<marketing_platform>0</marketing_platform>
<marketing_type>0</marketing_type>
<nation_id>0</nation_id>
<pk_user_id>0</pk_user_id>
<refer_url>foo</refer_url>
<reg_address>foo</reg_address>
<reg_before_url>foo</reg_before_url>
<reg_city_id>0</reg_city_id>
<reg_ip>foo</reg_ip>
<reg_platform>0</reg_platform>
<system_user_sign>0</system_user_sign>
<terminal_type>0</terminal_type>
</user_source>
</model>
<success>false</success>
</result>
</alibaba_damai_mp_uc_userprofile_getuserbyemail_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|