getOutOrderStatusList (出库订单状态查询)

请求地址

环境 HTTP请求地址
接口地址 请联系业务人员

请求参数

名称 类型 是否必须 长度 示例值 更多限制 描述
apiKey String Y 64 货主ApiKey
startDate Date Y 开始时间
endDate Date Y 结束时间
pageNumber Int Y 11 当前页码
pageSize Int Y 11 每页的记录数

响应参数

名称 类型 关联数据结构 描述
isSuccess String 接口调用是否成功
errorCode int 错误代码
totalCount int 出库数量
pageSize int 每页记录数
pageCount int 总页数
pageNumber int 当前页码
hasNext int 还有下一记录,true代表有,false无
msg 接口调用失败的原因
orderStatusInfoList数据集 List 出库单list集合
  • └ sourceId
  • String
  • 来源单号
  • └ orderStatusCode
  • int
  • 状态值 比如:04
  • └ orderStatusDesc
  • String
  • 状态值描述 比如:已出库

请求示例

  • JAVA
  • .NET
    String apiKey="**********";
    String startDate="2016-06-21 00:00:00";
    String endDate="2016-06-25 00:00:00";
	com.xld.client.RequestPager requestPager=
    new  com.xld.client.RequestPager();
	requestPager.setPageSize(1);
	requestPager.setPageSize(3);
	JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
    factory.setServiceClass(com.xld.client.OrderWS.class);
    factory.setAddress("http://store.kjy.cn/ecscm/services/orderService?wsdl");
    com.xld.client.OrderWS query    =(com.xld.client.OrderWS)
    factory.create();
	com.xld.client.StockOutOrderListResult resutl=query.
    getOutOrderCargoList(apiKey, startDate, endDate, requestPager);
                                

响应示例

  • XML示例
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:getOutOrderStatusListResponse xmlns:ns1="http://outservice.ws.xld.com/">
         <return>
            <isSuccess>true</isSuccess>
            <errorCode>0</errorCode>
            <totalCount>3</totalCount>
            <pageSize>3</pageSize>
            <pageCount>1</pageCount>
            <pageNumber>1</pageNumber>
            <hasNext>false</hasNext>
            <orderStatusInfoList>
               <sourceId>201605040008</sourceId>
               <orderStatusCode>02</orderStatusCode>
               <orderStatusDesc>等待拣货</orderStatusDesc>
            </orderStatusInfoList>
            <orderStatusInfoList>
               <sourceId>201605260006</sourceId>
               <orderStatusCode>02</orderStatusCode>
               <orderStatusDesc>等待拣货</orderStatusDesc>
            </orderStatusInfoList>
            <orderStatusInfoList>
               <sourceId>H20160217008</sourceId>
               <orderStatusCode>02</orderStatusCode>
               <orderStatusDesc>等待拣货</orderStatusDesc>
            </orderStatusInfoList>
         </return>
      </ns1:getOutOrderStatusListResponse>
   </soap:Body>
</soap:Envelope>

DEMO下载