jingdong.jcloud.wms.bridge.driver.update调用示例(Java


public JdClient client=new DefaultJdClient(SERVER_URL,accessToken,appKey,appSecret);

JcloudWmsBridgeDriverUpdateRequest request=new JcloudWmsBridgeDriverUpdateRequest();

request.setOrderNo( "jingdong" );
request.setWaybillNo( "jingdong" );
request.setCarNumber( "jingdong" );
request.setGetTime( "jingdong" );
request.setWarehouseNo( "jingdong" );
request.setOwnerNo( "jingdong" );
request.setDriverCarNo( "jingdong" );
request.setDriverPhone( "jingdong" );
request.setDriverName( "jingdong" );
request.setPin( "jingdong" );

JcloudWmsBridgeDriverUpdateResponse response=client.execute(request);


jingdong.jcloud.wms.bridge.driver.update调用示例(php


$c = new JdClient();

$c->appKey = appKey;

$c->appSecret = appSecret;

$c->accessToken = accessToken;

$c->serverUrl = SERVER_URL;

$req = new JcloudWmsBridgeDriverUpdateRequest();

$req->setOrderNo( "jingdong" ); $req->setWaybillNo( "jingdong" ); $req->setCarNumber( "jingdong" ); $req->setGetTime( "jingdong" ); $req->setWarehouseNo( "jingdong" ); $req->setOwnerNo( "jingdong" ); $req->setDriverCarNo( "jingdong" ); $req->setDriverPhone( "jingdong" ); $req->setDriverName( "jingdong" ); $req->setPin( "jingdong" );

$resp = $c->execute($req, $c->accessToken);


jingdong.jcloud.wms.bridge.driver.update调用示例(python


import jd.api

import json

from jd.api.rest.JcloudWmsBridgeDriverUpdateRequest import JcloudWmsBridgeDriverUpdateRequest

jd.setDefaultAppInfo(appkey, secret)

a = JcloudWmsBridgeDriverUpdateRequest(url,port)

a.orderNo = "jingdong" a.waybillNo = "jingdong" a.carNumber = "jingdong" a.getTime = "jingdong" a.warehouseNo = "jingdong" a.ownerNo = "jingdong" a.driverCarNo = "jingdong" a.driverPhone = "jingdong" a.driverName = "jingdong" a.pin = "jingdong"

try:

f= a.getResponse(sessionkey)

print(json.dumps(f, ensure_ascii=False))

except Exception,e:

print(e)


jingdong.jcloud.wms.bridge.driver.update调用示例(.net


IJdClient client = new DefaultJdClient(url, appkey, appsecret);

JcloudWmsBridgeDriverUpdateRequest req = new JcloudWmsBridgeDriverUpdateRequest();

req.orderNo = "jingdong" ; req.waybillNo = "jingdong" ; req.carNumber = "jingdong" ; req.getTime = "jingdong" ; req.warehouseNo = "jingdong" ; req.ownerNo = "jingdong" ; req.driverCarNo = "jingdong" ; req.driverPhone = "jingdong" ; req.driverName = "jingdong" ; req.pin = "jingdong" ;

JcloudWmsBridgeDriverUpdateResponse response = client.Execute (req, token, DateTime.Now.ToLocalTime());