注意:以下文档只适用于TOP接口,请谨慎使用!
保险保单批单
保险退保
保险保单理赔
线下保单回流API
保险支付宝域与淘宝域交互API
获取淘宝车险商品详情和店铺详情
T0核对淘系保险信息查询
通过外部订单号查询淘宝车险订单
航旅订单维度的保险查询
退保TOP接口
查询具备保险服务的订单数量
淘宝车险提醒的推送
资料上传接口
更新赔案
获取机构对应的淘宝车险商品信息
amspm规则刷新通知API
车险淘宝订单同步退款状态
查询营销平台报价剔除项
淘宝订单查询
天猫逆向动态url查询
更新理赔单退货货物状态
淘宝逆向退款信息查询
保险风控物流查询接口
规则服务
查询订单剔除项
保险双十一大屏接口
发送千牛消息
查询淘宝用户信息
保险商家报名
查询商家报名记录
保险商家退出
查询卖家绑定的支付宝账户信息
蚂蚁场景连接,查询飞猪业务信息
保险退货服务商勘察结论提交接口
保单信息查询
查询卖家理赔收入账号
更新卖家支付宝理赔收入账号
运费险寄件信息同步
查询淘宝订单信息,包含属性值
异步写入淘宝订单退款任务
查询淘宝用户身份
运费险订单详情查询
查询运费险订单列表
通过保单号查询零售通商品条形码
保险理赔单据机构审核
用户全网运费险使用权益准入
查询用户是否含有全网运费险
用户用户全网运费险下单锁定
用户全网运费险权益列表
全网运费险开放推荐接口
用户用户全网运费险是否准入
蚁巢保险投保
蚁巢保险保单修改
蚁巢保险退保
运费险查询物流单号重复理赔-风控策略
海外本地退2.0投保出单
海外本地退2.0报案
海外本地退2.0核赔
海外本地退2.0打款
海外本地退2.0销案
提供保险双十一大屏数据tr服务调用,包括保险电商场景保单量, 总保额,小时单量,分险种保单量
| 环境 | HTTP请求地址 | HTTPS请求地址 |
|---|---|---|
| 正式环境 | http://gw.api.taobao.com/router/rest | https://eco.taobao.com/router/rest |
| 名称 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| method | String | 是 | API接口名称。 |
| app_key | String | 是 | TOP分配给应用的AppKey。 |
| target_app_key | String | 否 | 被调用的目标AppKey,仅当被调用的API为第三方ISV提供时有效。 |
| sign_method | String | 是 | 签名的摘要算法,可选值为:hmac,md5。 |
| sign | String | 是 | API输入参数签名结果,签名算法介绍请点击这里。 |
| session | String | 否 | 用户登录授权成功后,TOP颁发给应用的授权信息,详细介绍请点击这里。当此API的标签上注明:“需要授权”,则此参数必传;“不需要授权”,则此参数不需要传;“可选授权”,则此参数为可选。 |
| timestamp | String | 是 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,时区为GMT+8,例如:2015-01-01 12:00:00。淘宝API服务端允许客户端请求最大时间误差为10分钟。 |
| format | String | 否 | 响应格式。默认为xml格式,可选值:xml,json。 |
| v | String | 是 | API协议版本,可选值:2.0。 |
| partner_id | String | 否 | 合作伙伴身份标识。 |
| simplify | Boolean | 否 | 是否采用精简JSON返回格式,仅当format=json时有效,默认值为:false。 |
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | String | result |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlipayBaoxianDoubledataQueryRequest req = new AlipayBaoxianDoubledataQueryRequest(); AlipayBaoxianDoubledataQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret); AlipayBaoxianDoubledataQueryRequest req = new AlipayBaoxianDoubledataQueryRequest(); AlipayBaoxianDoubledataQueryResponse rsp = client.Execute(req); Console.WriteLine(rsp.Body);
$c = new TopClient; $c->appkey = $appkey; $c->secretKey = $secret; $req = new AlipayBaoxianDoubledataQueryRequest; $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=alipay.baoxian.doubledata.query' \ -d 'partner_id=apidoc' \ -d 'sign=01F64C9F4C07FB1B789E34D9AB589CEF' \ -d 'sign_method=hmac' \ -d 'timestamp=2026-04-15+06%3A42%3A42' \ -d 'v=2.0'
# -*- coding: utf-8 -*- import top.api req=top.api.AlipayBaoxianDoubledataQueryRequest(url,port) req.set_app_info(top.appinfo(appkey,secret)) 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,"alipay.baoxian.doubledata.query");
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',
'url': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alipay.baoxian.doubledata.query' {
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})
<alipay_baoxian_doubledata_query_response>
<result></result>
</alipay_baoxian_doubledata_query_response>
{
"alipay_baoxian_doubledata_query_response":{
"result":""
}
}
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
{
"error_response":{
"msg":"Remote service error",
"code":50,
"sub_msg":"非法参数",
"sub_code":"isv.invalid-parameter"
}
}
| 错误码 | 错误描述 | 解决方案 |
|---|