导读:taobao.open.account.update( Open Account数据更新 )Open Account数据更新公共参数请求地址:公共请求参数:公共
taobao.open.account.update( Open Account数据更新 )
Open Account数据更新
公共参数
请求地址:
公共请求参数:
公共响应参数:
请求参数
响应参数
请求示例
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
OpenAccountUpdateRequest req = new OpenAccountUpdateRequest();
List list2 = new ArrayList();
OpenAccount obj3 = new OpenAccount();
list2.add(obj3);
obj3.setLoginId("baymax");
obj3.setCreateDeviceId("FxJbzXjm3vtO2GqNIdfnej9Db44Kwek");
obj3.setAlipayId("baymax@126.com");
obj3.setLocale("zh_CN");
obj3.setBankCardNo("1234 7655 28763 211");
obj3.setIsvAccountId("19862");
obj3.setEmail("abc@126.com");
obj3.setAvatarUrl("http://image.abc.com/aa.jpg");
obj3.setBankCardOwnerName("baymax");
obj3.setDisplayName("baymax");
obj3.setLoginPwdSalt("WjndM");
obj3.setLoginPwd("xmbuioyfhkuijaamdkoohndmadjidhjifjd");
obj3.setOpenId("xhdjeiyenmkljagjud");
obj3.setMobile("17084836002");
obj3.setCreateLocation("120.146484,30.313617");
obj3.setExtInfos("{\"gender\":\"male\"}");
obj3.setLoginPwdIntensity(1L);
obj3.setId(123L);
obj3.setType(2L);
obj3.setStatus(1L);
obj3.setLoginPwdEncryption(1L);
obj3.setGender(1L);
obj3.setName("baymax");
obj3.setBirthday("20150120");
obj3.setWangwang("baymax");
obj3.setWeixin("1822939822");
obj3.setOauthPlateform(1L);
req.setParamList(list2);
OpenAccountUpdateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
响应示例
<open_account_update_response>
<datas>
<openaccount_void>
<message>SUCCESS</message>
<successful>true</successful>
<code>1</code>
</openaccount_void>
</datas>
</open_account_update_response>
异常示例
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>