京东获取订单代码

1 订单检索
public JdClient client = new DefaultJdClient(SERVER_URL,

"c7b82199-f26d-459e-a4b3-d6f6cec4b869","36AB8642CCEF66293AD391EE7E4E9515","0da953632d0a4741beb0bbd096214605");

OrderSearchRequest request = new OrderSearchRequest();

request.setStartDate("2012-01-10 12:12:23");

request.setEndDate("2012-02-20 12:13:13");

request.setOrderState("WAIT_SELLER_STOCK_OUT");

request.setPage("1");

request.setPageSize("100");

request.setOptionalFields("vender_id,order_id,pay_type");

OrderSearchResponse response = client.execute(request);
2 获取单个订单
public JdClient client = new DefaultJdClient(SERVER_URL,

"c7b82199-f26d-459e-a4b3-d6f6cec4b869","36AB8642CCEF66293AD391EE7E4E9515","0da953632d0a4741beb0bbd096214605");

OrderGetRequest request = new OrderGetRequest();

request.setOrderId("25007947");

request.setOrderState("WAIT_SELLER_STOCK_OUT");

OrderGetResponse response=client.execute(request);
 
3 fbp订单检索
 
public JdClient client = new
 DefaultJdClient(SERVER_URL,"65ed71ee-a789-4773-bc8e-16683b638f62", "B9CC3C50FA2A160F909B36A19E17CDF9","36a51ed364cc4feda25c2dc1f0dbc3b6");
 OrderFbpSearchRequest request = new OrderFbpSearchRequest();
 request.setStartDate("2013-08-01 9:54:56");
 request.setEndDate("2013-08-20 11:52:42");
 request.setPage("1");
 request.setPageSize("2");
OrderFbpSearchResponse response = client.execute(request);

4 fbp单个订单检索
 
  
public JdClient client = new

DefaultJdClient(SERVER_URL,"65ed71ee-a789-4773-bc8e-16683b638f62", "B9CC3C50FA2A160F909B36A19E17CDF9","36a51ed364cc4feda25c2dc1f0dbc3b6");

OrderFbpGetRequest request = new OrderFbpGetRequest();

request.setOrderId("610200950");

OrderFbpGetResponse response=client.execute(request);

 
  
 
  


 

 

 

你可能感兴趣的:(京东获取订单代码)