TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
BaoxianAutoRemindPushRequest req = new BaoxianAutoRemindPushRequest();
req.setRemindBizId("11111111");
req.setRemindJsonArray("[{ \"actionTime\":1490080746658, \"carNo\":\"浙A111HZ\", \"dataSource\":\"1\", \"remindBizId\":\"111111111\", \"remindType\":\"2\" }]");
req.setExpiredTime(StringUtils.parseDateTime("2017-03-21 00:00:00"));
req.setBuyerId("3333333");
BaoxianAutoRemindPushResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
BaoxianAutoRemindPushRequest req = new BaoxianAutoRemindPushRequest();
req.RemindBizId = "11111111";
req.RemindJsonArray = "[{ \"actionTime\":1490080746658, \"carNo\":\"浙A111HZ\", \"dataSource\":\"1\", \"remindBizId\":\"111111111\", \"remindType\":\"2\" }]";
req.ExpiredTime = DateTime.Parse("2017-03-21 00:00:00");
req.BuyerId = "3333333";
BaoxianAutoRemindPushResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new BaoxianAutoRemindPushRequest;
$req->setRemindBizId("11111111");
$req->setRemindJsonArray("[{ \"actionTime\":1490080746658, \"carNo\":\"浙A111HZ\", \"dataSource\":\"1\", \"remindBizId\":\"111111111\", \"remindType\":\"2\" }]");
$req->setExpiredTime("2017-03-21 00:00:00");
$req->setBuyerId("3333333");
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=taobao.baoxian.auto.remind.push' \
-d 'partner_id=apidoc' \
-d 'sign=E1EC297AE0733E6866573CC52876C8C8' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-06-08+03%3A10%3A06' \
-d 'v=2.0' \
-d 'buyer_id=3333333' \
-d 'expired_time=2017-03-21+00%3A00%3A00' \
-d 'remind_biz_id=11111111' \
-d 'remind_json_array=%7B+%09%22actionTime%22%3A1490080746658%2C+%09%22carNo%22%3A%22%E6%B5%99A111HZ%22%2C+%09%22dataSource%22%3A%221%22%2C+%09%22remindBizId%22%3A%22111111111%22%2C+%09%22remindType%22%3A%222%22+%7D'
# -*- coding: utf-8 -*-
import top.api
req=top.api.BaoxianAutoRemindPushRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.remind_biz_id="11111111"
req.remind_json_array="[{ \"actionTime\":1490080746658, \"carNo\":\"浙A111HZ\", \"dataSource\":\"1\", \"remindBizId\":\"111111111\", \"remindType\":\"2\" }]"
req.expired_time="2017-03-21 00:00:00"
req.buyer_id="3333333"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"taobao.baoxian.auto.remind.push");
add_param(pRequest,"remind_biz_id","11111111");
add_param(pRequest,"remind_json_array","{ "actionTime":1490080746658, "carNo":"浙A111HZ", "dataSource":"1", "remindBizId":"111111111", "remindType":"2" }");
add_param(pRequest,"expired_time","2017-03-21 00:00:00");
add_param(pRequest,"buyer_id","3333333");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('taobao.baoxian.auto.remind.push', {
'remind_biz_id':'11111111',
'remind_json_array':'{ "actionTime":1490080746658, "carNo":"浙A111HZ", "dataSource":"1", "remindBizId":"111111111", "remindType":"2" }',
'expired_time':'2017-03-21 00:00:00',
'buyer_id':'3333333'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})