针对商家提供统一的TOP接口,可以根据订单获取订单对应买家联系电话(阿里小号)。
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_axb | RequestAxbDo | 必须 | 敏感信息查询请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
content | String | 13812345678 | 请求内容,如阿里小号 |
expires | Date | 2016-04-02 10:30:30 | 有效期 |
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBuyerGetRequest req = new AlitripBuyerGetRequest(); AlitripBuyerGetRequest.RequestAxbDo obj1 = new AlitripBuyerGetRequest.RequestAxbDo(); obj1.setReqContent(0L); obj1.setBizType(0L); obj1.setContactNo( "010-12345678" ); obj1.setPurpose( "用于航变通知" ); obj1.setOrderId(12345L); req.setRequestAxb(obj1); AlitripBuyerGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 | < alitrip_buyer_get_response > < content >13812345678</ content > < expires >2016-04-02 10:30:30</ expires > </ alitrip_buyer_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 > |
错误码 | 错误描述 | 解决方案 |
---|