TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest req = new TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest();
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest.TmallNativeStoreTechnicianReq obj1 = new TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest.TmallNativeStoreTechnicianReq();
obj1.setCertifiedLabelList("轮胎更换");
obj1.setInstallStoreId(912529138885L);
obj1.setTechnicianName("张三");
obj1.setTechnicianAvatar("https://img-home.csdnimg.cn/images/20240711042549.png");
obj1.setTechnicianSort(9L);
obj1.setAreaExpertiseList("洗车");
obj1.setEmployeeId("701985");
req.setTmallycStoreTechnicianReq(obj1);
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest req = new TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest();
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest.TmallNativeStoreTechnicianReqDomain obj1 = new TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest.TmallNativeStoreTechnicianReqDomain();
obj1.CertifiedLabelList = "轮胎更换";
obj1.InstallStoreId = 912529138885L;
obj1.TechnicianName = "张三";
obj1.TechnicianAvatar = "https://img-home.csdnimg.cn/images/20240711042549.png";
obj1.TechnicianSort = 9L;
obj1.AreaExpertiseList = "洗车";
obj1.EmployeeId = "701985";
req.TmallycStoreTechnicianReq_ = obj1;
TmallAliautoFulfillmentNativesSyncstoretechnicianSaveResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest;
$tmallyc_store_technician_req = new TmallNativeStoreTechnicianReq;
$tmallyc_store_technician_req->certified_label_list="轮胎更换";
$tmallyc_store_technician_req->install_store_id="912529138885";
$tmallyc_store_technician_req->technician_name="张三";
$tmallyc_store_technician_req->technician_avatar="https://img-home.csdnimg.cn/images/20240711042549.png";
$tmallyc_store_technician_req->technician_sort="9";
$tmallyc_store_technician_req->area_expertise_list="洗车";
$tmallyc_store_technician_req->employee_id="701985";
$req->setTmallycStoreTechnicianReq(json_encode($tmallyc_store_technician_req));
$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=tmall.aliauto.fulfillment.natives.syncstoretechnician.save' \
-d 'partner_id=apidoc' \
-d 'session=f01cc6be-104d-4492-91a2-2e3b5838fa2d' \
-d 'sign=75BB264466DA334760623098B1370299' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-29+06%3A05%3A40' \
-d 'v=2.0' \
-d 'tmallyc_store_technician_req=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.TmallAliautoFulfillmentNativesSyncstoretechnicianSaveRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.tmallyc_store_technician_req="数据结构示例JSON格式"
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,"tmall.aliauto.fulfillment.natives.syncstoretechnician.save");
add_param(pRequest,"tmallyc_store_technician_req","数据结构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('tmall.aliauto.fulfillment.natives.syncstoretechnician.save', {
'tmallyc_store_technician_req':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})