TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PicassoPictagAutopriceitemQueryRequest req = new PicassoPictagAutopriceitemQueryRequest();
PicassoPictagAutopriceitemQueryRequest.ItemQuery obj1 = new PicassoPictagAutopriceitemQueryRequest.ItemQuery();
obj1.setScatid("123,345");
obj1.setQ("裙子");
obj1.setBatchStrictOuterIdList("N1234");
obj1.setReservePrice("200/200000");
obj1.setPageNo(1L);
obj1.setItemIds("123,234");
obj1.setPageSize(20L);
obj1.setTemplateTagId(1234L);
obj1.setOutId("12345");
obj1.setStrictTitle("商品标题1");
obj1.setCid("1234");
obj1.setStatus("STATUS_NORMAL");
req.setItemQuery(obj1);
PicassoPictagAutopriceitemQueryRequest.CheckConflictCondition obj2 = new PicassoPictagAutopriceitemQueryRequest.CheckConflictCondition();
obj2.setPicType("1:1");
obj2.setIsvTaskId("123");
obj2.setStartTime("2021-06-01 00:00:00");
obj2.setEndTime("2021-06-04 00:00:00");
req.setCheckConflictCondition(obj2);
PicassoPictagAutopriceitemQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
PicassoPictagAutopriceitemQueryRequest req = new PicassoPictagAutopriceitemQueryRequest();
PicassoPictagAutopriceitemQueryRequest.ItemQueryDomain obj1 = new PicassoPictagAutopriceitemQueryRequest.ItemQueryDomain();
obj1.Scatid = "123,345";
obj1.Q = "裙子";
obj1.BatchStrictOuterIdList = "N1234";
obj1.ReservePrice = "200/200000";
obj1.PageNo = 1L;
obj1.ItemIds = "123,234";
obj1.PageSize = 20L;
obj1.TemplateTagId = 1234L;
obj1.OutId = "12345";
obj1.StrictTitle = "商品标题1";
obj1.Cid = "1234";
obj1.Status = "STATUS_NORMAL";
req.ItemQuery_ = obj1;
PicassoPictagAutopriceitemQueryRequest.CheckConflictConditionDomain obj2 = new PicassoPictagAutopriceitemQueryRequest.CheckConflictConditionDomain();
obj2.PicType = "1:1";
obj2.IsvTaskId = "123";
obj2.StartTime = "2021-06-01 00:00:00";
obj2.EndTime = "2021-06-04 00:00:00";
req.CheckConflictCondition_ = obj2;
PicassoPictagAutopriceitemQueryResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new PicassoPictagAutopriceitemQueryRequest;
$item_query = new ItemQuery;
$item_query->scatid="123,345";
$item_query->q="裙子";
$item_query->batch_strict_outer_id_list="N1234";
$item_query->reserve_price="200/200000";
$item_query->page_no="1";
$item_query->item_ids="123,234";
$item_query->page_size="20";
$item_query->template_tag_id="1234";
$item_query->out_id="12345";
$item_query->strict_title="商品标题1";
$item_query->cid="1234";
$item_query->status="STATUS_NORMAL";
$req->setItemQuery(json_encode($item_query));
$check_conflict_condition = new CheckConflictCondition;
$check_conflict_condition->pic_type="1:1";
$check_conflict_condition->isv_task_id="123";
$check_conflict_condition->start_time="2021-06-01 00:00:00";
$check_conflict_condition->end_time="2021-06-04 00:00:00";
$req->setCheckConflictCondition(json_encode($check_conflict_condition));
$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=taobao.picasso.pictag.autopriceitem.query' \
-d 'partner_id=apidoc' \
-d 'session=c064963f-c7ec-440a-89ae-1bb8c636bdb0' \
-d 'sign=882935A97643AD6EA5CB7F17F42655A9' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-24+16%3A04%3A19' \
-d 'v=2.0' \
-d 'check_conflict_condition=null' \
-d 'item_query=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.PicassoPictagAutopriceitemQueryRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.item_query=""
req.check_conflict_condition=""
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,"taobao.picasso.pictag.autopriceitem.query");
add_param(pRequest,"item_query","数据结构JSON示例");
add_param(pRequest,"check_conflict_condition","数据结构JSON示例");
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('taobao.picasso.pictag.autopriceitem.query', {
'item_query':'数据结构JSON示例',
'check_conflict_condition':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})