创建PTS订购
发送旺旺消息或邮件(不对外开放,请勿申请)
取消pts订单新接口
舆情平台产品反馈数据提交
反馈数据查询
获取指定nickname的反馈数据列表
简单反馈数据保存
对反馈记录进行评论
获取反馈评论数据
perfcenter旺旺消息
如琴线上测试勿动
反馈回复数据同步
1
标记知识有用/没用/PV
简单查询分类下的知识
根据ID查询知识
知识库规则匹配
简单查询某些分类下的知识
获取缺陷详情
反馈里面的标签分析
反馈里面的问题类别柱状图
反馈里面的问题类别趋势图
反馈里面的标签分析趋势
查询产品的标签
情感分析
提交反馈数据,后台慢慢消费
百川反馈数据保存
萧玄的API测试
批量添加监控关键字
保存用户推送过来的社会舆情数据
为指定舆情打指定标签
删除指定ID的舆情标签
测试api
读取测试数据
黎婧测试
木召测试
名誉权保护top的hsf测试
新制造MES物料同步
测试
获取用户列表
TOPAPI性能测试
似年测试api-time.get
圣炜票作废
圣炜门票确认
xiaowei测试api
菠菜的第一个测试api
aomp部署topapi到预发环境
模拟拉单测试数据
弹外调弹内测试接口
餐饮行业客户端用户信息获取
xiaowei测试文件上传api
测试接口
商家ERP调用内部测试接口
安全测试
倚枭测试奇门
jstqacenter应用上查询故障接口
奇门测试参数处理
慕仰测试获取用户详情
tradefactory2应用压测api
菠菜测试开发2
| 环境 | 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。 |
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| id | String | 1 | 2 |
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret); TaobaoLijingTestReadRequest req = new TaobaoLijingTestReadRequest(); TaobaoLijingTestReadResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret); TaobaoLijingTestReadRequest req = new TaobaoLijingTestReadRequest(); TaobaoLijingTestReadResponse rsp = client.Execute(req, sessionKey); Console.WriteLine(rsp.Body);
$c = new TopClient; $c->appkey = $appkey; $c->secretKey = $secret; $req = new TaobaoLijingTestReadRequest; $resp = $c->execute($req, $sessionKey);
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=qimen.taobao.lijing.test.read' \ -d 'partner_id=apidoc' \ -d 'session=6df16e12-c160-4f33-bfbd-cd339be8ba57' \ -d 'sign=F9266476721B438EA83CEA1D7CF74AF3' \ -d 'sign_method=hmac' \ -d 'timestamp=2025-11-09+22%3A47%3A22' \ -d 'v=2.0'
# -*- coding: utf-8 -*- import top.api req=top.api.AobaoLijingTestReadRequest(url,port) req.set_app_info(top.appinfo(appkey,secret)) try: resp= req.getResponse(sessionkey) 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,"qimen.taobao.lijing.test.read");
pResponse = top_execute(pClient,pRequest,sessionKey);
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('qimen.taobao.lijing.test.read' {
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})
<id>1</id>
{
"id":"1"
}
<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"
}
}
| 错误码 | 错误描述 | 解决方案 |
|---|