TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMjMosFundModifybillbankaccountRequest req = new AlibabaMjMosFundModifybillbankaccountRequest();
AlibabaMjMosFundModifybillbankaccountRequest.ModifyBillDto obj1 = new AlibabaMjMosFundModifybillbankaccountRequest.ModifyBillDto();
obj1.setBankBranchCode("收款方开户支行code");
obj1.setSupplierName("供应商名称");
obj1.setSupplierNo("供应商id");
obj1.setBankCity("杭州市");
obj1.setAccountNo("银行卡卡号");
obj1.setBankName("中国建设银行");
obj1.setAccountTypes("COMPANY");
obj1.setBankProvince("浙江省");
obj1.setBankCode("//银行号");
obj1.setSettleLineNos("{[1],[2]}");
obj1.setAccountName("收款方账号名称");
obj1.setBankBranchName("收款方开户支行");
obj1.setCnapsCode("联行号");
obj1.setBillNo("20180514222222");
obj1.setExtendParams("K:V");
req.setModifyDto(obj1);
AlibabaMjMosFundModifybillbankaccountResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaMjMosFundModifybillbankaccountRequest req = new AlibabaMjMosFundModifybillbankaccountRequest();
AlibabaMjMosFundModifybillbankaccountRequest.ModifyBillDtoDomain obj1 = new AlibabaMjMosFundModifybillbankaccountRequest.ModifyBillDtoDomain();
obj1.BankBranchCode = "收款方开户支行code";
obj1.SupplierName = "供应商名称";
obj1.SupplierNo = "供应商id";
obj1.BankCity = "杭州市";
obj1.AccountNo = "银行卡卡号";
obj1.BankName = "中国建设银行";
obj1.AccountTypes = "COMPANY";
obj1.BankProvince = "浙江省";
obj1.BankCode = "//银行号";
obj1.SettleLineNos = "{[1],[2]}";
obj1.AccountName = "收款方账号名称";
obj1.BankBranchName = "收款方开户支行";
obj1.CnapsCode = "联行号";
obj1.BillNo = "20180514222222";
obj1.ExtendParams = "K:V";
req.ModifyDto_ = obj1;
AlibabaMjMosFundModifybillbankaccountResponse rsp = client.Execute(req, sessionKey);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaMjMosFundModifybillbankaccountRequest;
$modify_dto = new ModifyBillDto;
$modify_dto->bank_branch_code="收款方开户支行code";
$modify_dto->supplier_name="供应商名称";
$modify_dto->supplier_no="供应商id";
$modify_dto->bank_city="杭州市";
$modify_dto->account_no="银行卡卡号";
$modify_dto->bank_name="中国建设银行";
$modify_dto->account_types="COMPANY";
$modify_dto->bank_province="浙江省";
$modify_dto->bank_code="//银行号";
$modify_dto->settle_line_nos="{[1],[2]}";
$modify_dto->account_name="收款方账号名称";
$modify_dto->bank_branch_name="收款方开户支行";
$modify_dto->cnaps_code="联行号";
$modify_dto->bill_no="20180514222222";
$modify_dto->extend_params="K:V";
$req->setModifyDto(json_encode($modify_dto));
$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=alibaba.mj.mos.fund.modifybillbankaccount' \
-d 'partner_id=apidoc' \
-d 'session=1beea280-d3ef-49e7-8e7e-d1bfe44c9cce' \
-d 'sign=EB2A3BB9797CA07EB53636341903B9AE' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-23+16%3A51%3A20' \
-d 'v=2.0' \
-d 'modify_dto=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaMjMosFundModifybillbankaccountRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.modify_dto=""
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,"alibaba.mj.mos.fund.modifybillbankaccount");
add_param(pRequest,"modify_dto","数据结构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('alibaba.mj.mos.fund.modifybillbankaccount', {
'modify_dto':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})