更新手机号码,分为信任手机和联系手机
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
update_mobile_request | UpdateMobileRequest | 可选 | 请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | UpdateMobileResult | result | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaMoziFusionUpdateMobileRequest req = new AlibabaMoziFusionUpdateMobileRequest(); AlibabaMoziFusionUpdateMobileRequest.UpdateMobileRequest obj1 = new AlibabaMoziFusionUpdateMobileRequest.UpdateMobileRequest(); obj1.setMobile( "150xxxxxxxx" ); obj1.setMobileType( "BOTH" ); obj1.setOperator( "admin" ); obj1.setEmployeeCode( "test" ); obj1.setAccountId(111L); obj1.setAreaCode( "86" ); obj1.setTenantId(111L); req.setUpdateMobileRequest(obj1); AlibabaMoziFusionUpdateMobileResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 | < alibaba_mozi_fusion_update_mobile_response > < result > < data >true</ data > < success >true</ success > < request_id >bf240f5d33704f71aa8c3692219dfb2a</ request_id > < response_message >OK</ response_message > < response_meta_data >test</ response_meta_data > < response_code >0</ response_code > </ result > </ alibaba_mozi_fusion_update_mobile_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|