GetOrderStatusReports

This function is obsolete. Please use GetOrdersByQuery instead.

This function allows you to get a quick summary of several orders at the same time. It is similar to GetOrdersByQuery, but the difference is that this function only returns a handful of fields for each order. That means that if you have many orders, then this function will be quicker than GetOrdersByQuery.

Tags: GetOrderStatusReports, OrderStatusReportsQuery, GetOrderStatusReportsResponse, OrderStatusReportsResult, OrderStatusReport

Request XML

POST /xxx/Service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetOrderStatusReports"

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetOrderStatusReports xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <query>
        <OrderNumbersToReport>
          <string>string</string>
          <string>string</string>
        </OrderNumbersToReport>
      </query>
    </GetOrderStatusReports>
  </soap:Body>
</soap:Envelope>

Request specification

GetOrderStatusReports
GoodsOwnerCode string(400) Req. The name/code of your client
UserName string(50) Req. Your username
Password string(50) Req. Your password
query OrderStatusReportsQuery Req. The query object
OrderStatusReportsQuery
OrderNumbersToReport string[] A list of the order numbers which you want to search for.

Response XML

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetOrderStatusReportsResponse xmlns="http://ongoingsystems.se/WSI">
      <GetOrderStatusReportsResult>
        <OrderStatusReports>
          <OrderStatusReport>
            <OrderId>int</OrderId>
            <GoodsOwnerId>int</GoodsOwnerId>
            <GoodsOwnerOrderNumber>string</GoodsOwnerOrderNumber>
            <PickingTime>dateTime</PickingTime>
            <DeliveryDate>dateTime</DeliveryDate>
            <GoodsOwnerReferenceNumber>string</GoodsOwnerReferenceNumber>
            <OrderStatusNumber>int</OrderStatusNumber>
            <OrderStatusText>string</OrderStatusText>
            <OrderStatusIsPicked>boolean</OrderStatusIsPicked>
            <OrderStatusIsDelivered>boolean</OrderStatusIsDelivered>
            <OrderedNumberOfItems>decimal</OrderedNumberOfItems>
            <PickedNumberOfItems>decimal</PickedNumberOfItems>
          </OrderStatusReport>
          <OrderStatusReport>
            <OrderId>int</OrderId>
            <GoodsOwnerId>int</GoodsOwnerId>
            <GoodsOwnerOrderNumber>string</GoodsOwnerOrderNumber>
            <PickingTime>dateTime</PickingTime>
            <DeliveryDate>dateTime</DeliveryDate>
            <GoodsOwnerReferenceNumber>string</GoodsOwnerReferenceNumber>
            <OrderStatusNumber>int</OrderStatusNumber>
            <OrderStatusText>string</OrderStatusText>
            <OrderStatusIsPicked>boolean</OrderStatusIsPicked>
            <OrderStatusIsDelivered>boolean</OrderStatusIsDelivered>
            <OrderedNumberOfItems>decimal</OrderedNumberOfItems>
            <PickedNumberOfItems>decimal</PickedNumberOfItems>
          </OrderStatusReport>
        </OrderStatusReports>
      </GetOrderStatusReportsResult>
    </GetOrderStatusReportsResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetOrderStatusReportsResponse
GetOrderStatusReportsResult OrderStatusReportsResult
OrderStatusReportsResult
OrderStatusReports OrderStatusReport[]
OrderStatusReport
OrderId int Ongoing WMS' internal id for this order.
GoodsOwnerId int The id of the client.
GoodsOwnerOrderNumber string(50) The order number.
PickingTime dateTime The last time any picking was done on the order.
DeliveryDate dateTime The date when the order was supposed to have been delivered.
GoodsOwnerReferenceNumber string(100) The goodsowner reference number.
OrderStatusNumber int The order status number.
OrderStatusText string(50) The name of the order status (e.g. "Picked" or "Collected").
OrderStatusIsPicked boolean True if the order has been marked as Picked.
OrderStatusIsDelivered boolean True if the order has been marked as Delivered.
OrderedNumberOfItems decimal The number of items which have been ordered.
PickedNumberOfItems decimal The number of items which have been picked.