TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkLogisticsMpsCarEntryparkOutRequest req = new WdkLogisticsMpsCarEntryparkOutRequest();
WdkLogisticsMpsCarEntryparkOutRequest.CarLeaveParkRequest obj1 = new WdkLogisticsMpsCarEntryparkOutRequest.CarLeaveParkRequest();
obj1.setOutTime("2025-07-13 19:32:17\"");
obj1.setOutDeviceName("出口2");
obj1.setOutRecordId("AFA1DE0019090319321715905634");
obj1.setCarPlateNumber("粤B56789");
obj1.setOutImageUrl("http://192.168.1.100:9012/down/pic/20180803/park/128654848/080355_SB1.jpg");
obj1.setOutDeviceId("3ac00095-50fc-4f4b-9e12-57affc66ac9a");
obj1.setInRecordId("AFA1DE0019090319321715905634");
obj1.setOperator("张三");
req.setCarOutParkRequest(obj1);
WdkLogisticsMpsCarEntryparkOutResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
WdkLogisticsMpsCarEntryparkOutRequest req = new WdkLogisticsMpsCarEntryparkOutRequest();
WdkLogisticsMpsCarEntryparkOutRequest.CarLeaveParkRequestDomain obj1 = new WdkLogisticsMpsCarEntryparkOutRequest.CarLeaveParkRequestDomain();
obj1.OutTime = "2025-07-13 19:32:17\"";
obj1.OutDeviceName = "出口2";
obj1.OutRecordId = "AFA1DE0019090319321715905634";
obj1.CarPlateNumber = "粤B56789";
obj1.OutImageUrl = "http://192.168.1.100:9012/down/pic/20180803/park/128654848/080355_SB1.jpg";
obj1.OutDeviceId = "3ac00095-50fc-4f4b-9e12-57affc66ac9a";
obj1.InRecordId = "AFA1DE0019090319321715905634";
obj1.Operator = "张三";
req.CarOutParkRequest_ = obj1;
WdkLogisticsMpsCarEntryparkOutResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new WdkLogisticsMpsCarEntryparkOutRequest;
$car_out_park_request = new CarLeaveParkRequest;
$car_out_park_request->out_time="2025-07-13 19:32:17\"";
$car_out_park_request->out_device_name="出口2";
$car_out_park_request->out_record_id="AFA1DE0019090319321715905634";
$car_out_park_request->car_plate_number="粤B56789";
$car_out_park_request->out_image_url="http://192.168.1.100:9012/down/pic/20180803/park/128654848/080355_SB1.jpg";
$car_out_park_request->out_device_id="3ac00095-50fc-4f4b-9e12-57affc66ac9a";
$car_out_park_request->in_record_id="AFA1DE0019090319321715905634";
$car_out_park_request->operator="张三";
$req->setCarOutParkRequest(json_encode($car_out_park_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=wdk.logistics.mps.car.entrypark.out' \
-d 'partner_id=apidoc' \
-d 'sign=937BCE15FC92E0A7C81F134D43850DAB' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-08-23+23%3A05%3A20' \
-d 'v=2.0' \
-d 'car_out_park_request=null'
# -*- coding: utf-8 -*-
import top.api
req=top.api.WdkLogisticsMpsCarEntryparkOutRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.car_out_park_request="数据结构示例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,"wdk.logistics.mps.car.entrypark.out");
add_param(pRequest,"car_out_park_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('wdk.logistics.mps.car.entrypark.out', {
'car_out_park_request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})