获取商家联系人信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
ali_cgs | String | 必须 | 4284172141 | 阿里客户id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultModel | 接口返回结果 | |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCrmContactInfoGetRequest req = new AlibabaCrmContactInfoGetRequest(); req.setAliCgs( "4284172141" ); AlibabaCrmContactInfoGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | < alibaba_crm_contact_info_get_response > < result > < error_code >110000</ error_code > < error_msg >未知异常</ error_msg > < success >true</ success > < total >4</ total > < values > < contact_info_vo > < contact_id >2100401752486</ contact_id > < contact_name >张三</ contact_name > < ali_cgs >4243747471</ ali_cgs > < is_kp >y</ is_kp > < mobile >13900110001</ mobile > < phone >057768615776</ phone > < position >董事长</ position > < contact_type >main</ contact_type > </ contact_info_vo > </ values > </ result > </ alibaba_crm_contact_info_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|