jingdong.ept.warecenter.ware.shelve调用示例(Java


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

EptWarecenterWareShelveRequest request=new EptWarecenterWareShelveRequest();

request.setWareId( 123 );

EptWarecenterWareShelveResponse response=client.execute(request);


jingdong.ept.warecenter.ware.shelve调用示例(php


$c = new JdClient();

$c->appKey = appKey;

$c->appSecret = appSecret;

$c->accessToken = accessToken;

$c->serverUrl = SERVER_URL;

$req = new EptWarecenterWareShelveRequest();

$req->setWareId( 123 );

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


jingdong.ept.warecenter.ware.shelve调用示例(python


import jd.api

import json

from jd.api.rest.EptWarecenterWareShelveRequest import EptWarecenterWareShelveRequest

jd.setDefaultAppInfo(appkey, secret)

a = EptWarecenterWareShelveRequest(url,port)

a.wareId = 123

try:

f= a.getResponse(sessionkey)

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

except Exception,e:

print(e)


jingdong.ept.warecenter.ware.shelve调用示例(.net


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

EptWarecenterWareShelveRequest req = new EptWarecenterWareShelveRequest();

req.wareId = 123 ;

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