TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSolutionIssuePartnerRmaScreeningCreateRequest req = new AliexpressSolutionIssuePartnerRmaScreeningCreateRequest();
AliexpressSolutionIssuePartnerRmaScreeningCreateRequest.RmaScreeningCreationRequest obj1 = new AliexpressSolutionIssuePartnerRmaScreeningCreateRequest.RmaScreeningCreationRequest();
obj1.setResult("OK");
obj1.setRmaId("012345678901234");
obj1.setScreeningDate(StringUtils.parseDateTime("2017-01-01 00:00:00"));
obj1.setScreeningResultDetails("All ok");
obj1.setScreeningResultReasons("CUSTOMER_FAULT");
req.setScreeningResultCreationRequest(obj1);
AliexpressSolutionIssuePartnerRmaScreeningCreateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AliexpressSolutionIssuePartnerRmaScreeningCreateRequest req = new AliexpressSolutionIssuePartnerRmaScreeningCreateRequest();
AliexpressSolutionIssuePartnerRmaScreeningCreateRequest.RmaScreeningCreationRequestDomain obj1 = new AliexpressSolutionIssuePartnerRmaScreeningCreateRequest.RmaScreeningCreationRequestDomain();
obj1.Result = "OK";
obj1.RmaId = "012345678901234";
obj1.ScreeningDate = DateTime.Parse(2017-01-01 00:00:00");
obj1.ScreeningResultDetails = "All ok";
obj1.ScreeningResultReasons = "CUSTOMER_FAULT";
req.ScreeningResultCreationRequest_ = obj1;
AliexpressSolutionIssuePartnerRmaScreeningCreateResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AliexpressSolutionIssuePartnerRmaScreeningCreateRequest;
$screening_result_creation_request = new RmaScreeningCreationRequest;
$screening_result_creation_request->result="OK";
$screening_result_creation_request->rma_id="012345678901234";
$screening_result_creation_request->screening_date="2017-01-01 00:00:00";
$screening_result_creation_request->screening_result_details="All ok";
$screening_result_creation_request->screening_result_reasons="CUSTOMER_FAULT";
$req->setScreeningResultCreationRequest(json_encode($screening_result_creation_request));
$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=aliexpress.solution.issue.partner.rma.screening.create' \
-d 'partner_id=apidoc' \
-d 'sign=956242F4D60252EF190BA7C8007EB9BE' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-02+12%3A18%3A00' \
-d 'v=2.0' \
-d 'screening_result_creation_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AliexpressSolutionIssuePartnerRmaScreeningCreateRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.screening_result_creation_request=""
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,"aliexpress.solution.issue.partner.rma.screening.create");
add_param(pRequest,"screening_result_creation_request","数据结构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('aliexpress.solution.issue.partner.rma.screening.create', {
'screening_result_creation_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})