TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosOrderSubmitmixorderchangepriceRequest req = new LarkPosOrderSubmitmixorderchangepriceRequest();
req.setChannelCode("POS_7777");
req.setLeaseCode("wy");
req.setCinemaLinkId("7777");
req.setOutOrderId("1");
req.setOrderPrice(1L);
req.setPayAmount(1L);
req.setOrderType(1L);
req.setOperatorUserId("1");
req.setWorkstationId("1");
req.setWorkstationName("1");
req.setPaymentList("[]");
req.setPromotionList("[]");
req.setScheduleList("[]");
req.setGoodsList("[]");
req.setMobile("13800138000");
req.setFulfillType("SELF");
req.setFulfillTime("2019-10-22");
req.setFulfillPlace("510000");
req.setFulfillPhone("1380000000");
LarkPosOrderSubmitmixorderchangepriceResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
LarkPosOrderSubmitmixorderchangepriceRequest req = new LarkPosOrderSubmitmixorderchangepriceRequest();
req.ChannelCode = "POS_7777";
req.LeaseCode = "wy";
req.CinemaLinkId = "7777";
req.OutOrderId = "1";
req.OrderPrice = 1L;
req.PayAmount = 1L;
req.OrderType = 1L;
req.OperatorUserId = "1";
req.WorkstationId = "1";
req.WorkstationName = "1";
req.PaymentList = "[]";
req.PromotionList = "[]";
req.ScheduleList = "[]";
req.GoodsList = "[]";
req.Mobile = "13800138000";
req.FulfillType = "SELF";
req.FulfillTime = "2019-10-22";
req.FulfillPlace = "510000";
req.FulfillPhone = "1380000000";
LarkPosOrderSubmitmixorderchangepriceResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new LarkPosOrderSubmitmixorderchangepriceRequest;
$req->setChannelCode("POS_7777");
$req->setLeaseCode("wy");
$req->setCinemaLinkId("7777");
$req->setOutOrderId("1");
$req->setOrderPrice("1");
$req->setPayAmount("1");
$req->setOrderType("1");
$req->setOperatorUserId("1");
$req->setWorkstationId("1");
$req->setWorkstationName("1");
$req->setPaymentList("[]");
$req->setPromotionList("[]");
$req->setScheduleList("[]");
$req->setGoodsList("[]");
$req->setMobile("13800138000");
$req->setFulfillType("SELF");
$req->setFulfillTime("2019-10-22");
$req->setFulfillPlace("510000");
$req->setFulfillPhone("1380000000");
$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=taobao.lark.pos.order.submitmixorderchangeprice' \
-d 'partner_id=apidoc' \
-d 'sign=498465FA008EC00283E4455D7EE51582' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-05-23+18%3A46%3A22' \
-d 'v=2.0' \
-d 'channel_code=POS_7777' \
-d 'cinema_link_id=7777' \
-d 'fulfill_phone=1380000000' \
-d 'fulfill_place=510000' \
-d 'fulfill_time=2019-10-22' \
-d 'fulfill_type=SELF' \
-d 'goods_list=null' \
-d 'lease_code=wy' \
-d 'mobile=13800138000' \
-d 'operator_user_id=1' \
-d 'order_price=1' \
-d 'order_type=1' \
-d 'out_order_id=1' \
-d 'pay_amount=1' \
-d 'payment_list=null' \
-d 'promotion_list=null' \
-d 'schedule_list=null' \
-d 'workstation_id=1' \
-d 'workstation_name=1'
# -*- coding: utf-8 -*-
import top.api
req=top.api.LarkPosOrderSubmitmixorderchangepriceRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.channel_code="POS_7777"
req.lease_code="wy"
req.cinema_link_id="7777"
req.out_order_id="1"
req.order_price=1
req.pay_amount=1
req.order_type=1
req.operator_user_id="1"
req.workstation_id="1"
req.workstation_name="1"
req.payment_list="[]"
req.promotion_list="[]"
req.schedule_list="[]"
req.goods_list="[]"
req.mobile="13800138000"
req.fulfill_type="SELF"
req.fulfill_time="2019-10-22"
req.fulfill_place="510000"
req.fulfill_phone="1380000000"
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,"taobao.lark.pos.order.submitmixorderchangeprice");
add_param(pRequest,"channel_code","POS_7777");
add_param(pRequest,"lease_code","wy");
add_param(pRequest,"cinema_link_id","7777");
add_param(pRequest,"out_order_id","1");
add_param(pRequest,"order_price","1");
add_param(pRequest,"pay_amount","1");
add_param(pRequest,"order_type","1");
add_param(pRequest,"operator_user_id","1");
add_param(pRequest,"workstation_id","1");
add_param(pRequest,"workstation_name","1");
add_param(pRequest,"payment_list","");
add_param(pRequest,"promotion_list","");
add_param(pRequest,"schedule_list","");
add_param(pRequest,"goods_list","");
add_param(pRequest,"mobile","13800138000");
add_param(pRequest,"fulfill_type","SELF");
add_param(pRequest,"fulfill_time","2019-10-22");
add_param(pRequest,"fulfill_place","510000");
add_param(pRequest,"fulfill_phone","1380000000");
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('taobao.lark.pos.order.submitmixorderchangeprice', {
'channel_code':'POS_7777',
'lease_code':'wy',
'cinema_link_id':'7777',
'out_order_id':'1',
'order_price':'1',
'pay_amount':'1',
'order_type':'1',
'operator_user_id':'1',
'workstation_id':'1',
'workstation_name':'1',
'payment_list':'',
'promotion_list':'',
'schedule_list':'',
'goods_list':'',
'mobile':'13800138000',
'fulfill_type':'SELF',
'fulfill_time':'2019-10-22',
'fulfill_place':'510000',
'fulfill_phone':'1380000000'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})