TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMevOpenBatchdelprojectRequest req = new AlibabaDamaiMevOpenBatchdelprojectRequest();
List<AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParam> list2 = new ArrayList<AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParam>();
AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParam obj3 = new AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParam();
list2.add(obj3);
obj3.setCpId(100L);
obj3.setId(1L);
obj3.setOperator("foo");
obj3.setOperatorId(100L);
obj3.setProjectId(100L);
obj3.setSystemId(5L);
req.setProjectIdOpenParamList(list2);
AlibabaDamaiMevOpenBatchdelprojectResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDamaiMevOpenBatchdelprojectRequest req = new AlibabaDamaiMevOpenBatchdelprojectRequest();
List<AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParamDomain> list2 = new List<AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParamDomain>();
AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParamDomain obj3 = new AlibabaDamaiMevOpenBatchdelprojectRequest.ProjectIdOpenParamDomain();
list2.Add(obj3);
obj3.CpId = 100L;
obj3.Id = 1L;
obj3.Operator = "foo";
obj3.OperatorId = 100L;
obj3.ProjectId = 100L;
obj3.SystemId = 5L;
req.ProjectIdOpenParamList_ = list2;
AlibabaDamaiMevOpenBatchdelprojectResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDamaiMevOpenBatchdelprojectRequest;
$project_id_open_param_list = new ProjectIdOpenParam;
$project_id_open_param_list->cp_id="100";
$project_id_open_param_list->id="1";
$project_id_open_param_list->operator="foo";
$project_id_open_param_list->operator_id="100";
$project_id_open_param_list->project_id="100";
$project_id_open_param_list->system_id="5";
$req->setProjectIdOpenParamList(json_encode($project_id_open_param_list));
$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=alibaba.damai.mev.open.batchdelproject' \
-d 'partner_id=apidoc' \
-d 'sign=BC63493E0487E5EB460E067F19C688A7' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-08-30+02%3A58%3A26' \
-d 'v=2.0' \
-d 'project_id_open_param_list=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDamaiMevOpenBatchdelprojectRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.project_id_open_param_list=""
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,"alibaba.damai.mev.open.batchdelproject");
add_param(pRequest,"project_id_open_param_list","数据结构JSON示例");
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('alibaba.damai.mev.open.batchdelproject', {
'project_id_open_param_list':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})