TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaLvmsDelegateMarkeddebtorcontactRequest req = new AlibabaLvmsDelegateMarkeddebtorcontactRequest();
req.setRpcContextString("{}");
AlibabaLvmsDelegateMarkeddebtorcontactRequest.DebtorContactMarkedDto obj1 = new AlibabaLvmsDelegateMarkeddebtorcontactRequest.DebtorContactMarkedDto();
obj1.setFactType("处理类别");
obj1.setReminderUserId(11111L);
obj1.setDelegateSecurityId("委托加密id");
obj1.setMobile("联系方式");
obj1.setReminderUserSource("债务人平台来源");
req.setDebtorContactMarkedDTO(obj1);
AlibabaLvmsDelegateMarkeddebtorcontactResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaLvmsDelegateMarkeddebtorcontactRequest req = new AlibabaLvmsDelegateMarkeddebtorcontactRequest();
req.RpcContext = "{}";
AlibabaLvmsDelegateMarkeddebtorcontactRequest.DebtorContactMarkedDtoDomain obj1 = new AlibabaLvmsDelegateMarkeddebtorcontactRequest.DebtorContactMarkedDtoDomain();
obj1.FactType = "处理类别";
obj1.ReminderUserId = 11111L;
obj1.DelegateSecurityId = "委托加密id";
obj1.Mobile = "联系方式";
obj1.ReminderUserSource = "债务人平台来源";
req.DebtorContactMarkedDTO_ = obj1;
AlibabaLvmsDelegateMarkeddebtorcontactResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaLvmsDelegateMarkeddebtorcontactRequest;
$req->setRpcContext("{}");
$debtor_contact_marked_d_t_o = new DebtorContactMarkedDto;
$debtor_contact_marked_d_t_o->fact_type="处理类别";
$debtor_contact_marked_d_t_o->reminder_user_id="11111";
$debtor_contact_marked_d_t_o->delegate_security_id="委托加密id";
$debtor_contact_marked_d_t_o->mobile="联系方式";
$debtor_contact_marked_d_t_o->reminder_user_source="债务人平台来源";
$req->setDebtorContactMarkedDTO(json_encode($debtor_contact_marked_d_t_o));
$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.lvms.delegate.markeddebtorcontact' \
-d 'partner_id=apidoc' \
-d 'sign=8B3319833387F45AEAABFDAD23103388' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-14+20%3A15%3A26' \
-d 'v=2.0' \
-d 'debtor_contact_marked_d_t_o=null' \
-d 'rpc_context=%7B%7D'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaLvmsDelegateMarkeddebtorcontactRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.rpc_context="{}"
req.debtor_contact_marked_d_t_o=""
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.lvms.delegate.markeddebtorcontact");
add_param(pRequest,"rpc_context","{}");
add_param(pRequest,"debtor_contact_marked_d_t_o","数据结构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.lvms.delegate.markeddebtorcontact', {
'rpc_context':'{}',
'debtor_contact_marked_d_t_o':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})