getOutOrderStatus (获取单个出库订单的状态)

请求地址

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

请求参数

名称 类型 是否必须 长度 示例值 更多限制 描述
apiKey String Y 64 货主ApiKey
source String Y 2 来源
sourceId Date Y 来源单号

响应参数

名称 类型 关联数据结构 描述
sourceId String 来源单号
orderStatusCode int 状态值 比如:04
orderStatusDesc String 状态值描述 比如:已出库

请求示例

  • JAVA
  • .NET
 
    String apiKey="*****************";
	JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
    factory.setServiceClass(com.xld.client.OrderWS.class);
    factory.setAddress("http://store.kjy.cn/ecscm/services/inventoryService?wsdl");
    com.xld.client.OrderWS query =(com.xld.client.OrderWS)
    factory.create();
    com.xld.client.OrderStatusInfo result=query.getOutOrderStatus(
    apiKey,"01", "lydh20160526001");

响应示例

  • XML示例
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:getOutOrderStatusResponse xmlns:ns1="http://outservice.ws.xld.com/">
         <return>
            <sourceId>lydh20160526001</sourceId>
            <orderStatusCode>07</orderStatusCode>
            <orderStatusDesc>已出库</orderStatusDesc>
         </return>
      </ns1:getOutOrderStatusResponse>
   </soap:Body>
</soap:Envelope>

DEMO下载