查询销售电话号码对应的阿里云中转号
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
ali_cgs | String | 必须 | 873626234 | 客户ID | |
user_type | String | 必须 | okki | 机会跟进类型(okki or a2) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | {} | 接口返回model |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCrmSalesPrivatephoneGetRequest req = new AlibabaCrmSalesPrivatephoneGetRequest(); req.setAliCgs( "873626234" ); req.setUserType( "okki" ); AlibabaCrmSalesPrivatephoneGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < alibaba_crm_sales_privatephone_get_response > < result > < total >0</ total > < dateline >1608186210964</ dateline > < success >true</ success > < values > < expire_time >1608186810</ expire_time > < phone >17150144636</ phone > </ values > < error_code >demo</ error_code > < error_msg >demo</ error_msg > </ result > </ alibaba_crm_sales_privatephone_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 > |
错误码 | 错误描述 | 解决方案 |
---|