TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest req = new AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest();
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest.ExecuteRefundAuditParam obj1 = new AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest.ExecuteRefundAuditParam();
obj1.setRefundSource("1");
obj1.setRemark("同意");
obj1.setId(22222L);
obj1.setOperatorId(22L);
obj1.setAppKey("2121");
obj1.setOperator("操作员");
req.setExecuteRefundAuditParam(obj1);
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest req = new AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest();
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest.ExecuteRefundAuditParamDomain obj1 = new AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest.ExecuteRefundAuditParamDomain();
obj1.RefundSource = "1";
obj1.Remark = "同意";
obj1.Id = 22222L;
obj1.OperatorId = 22L;
obj1.AppKey = "2121";
obj1.Operator = "操作员";
req.ExecuteRefundAuditParam_ = obj1;
AlibabaDamaiMaitixSponsorDistributionAgreerefundauditResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest;
$execute_refund_audit_param = new ExecuteRefundAuditParam;
$execute_refund_audit_param->refund_source="1";
$execute_refund_audit_param->remark="同意";
$execute_refund_audit_param->id="22222";
$execute_refund_audit_param->operator_id="22";
$execute_refund_audit_param->app_key="2121";
$execute_refund_audit_param->operator="操作员";
$req->setExecuteRefundAuditParam(json_encode($execute_refund_audit_param));
$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.maitix.sponsor.distribution.agreerefundaudit' \
-d 'partner_id=apidoc' \
-d 'sign=352DBD0AFB1157899E722C29F2E3586B' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-27+21%3A59%3A29' \
-d 'v=2.0' \
-d 'execute_refund_audit_param=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaDamaiMaitixSponsorDistributionAgreerefundauditRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.execute_refund_audit_param="数据结构示例JSON格式"
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.maitix.sponsor.distribution.agreerefundaudit");
add_param(pRequest,"execute_refund_audit_param","数据结构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.maitix.sponsor.distribution.agreerefundaudit', {
'execute_refund_audit_param':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})