Ongoing Warehouse logo

Ongoing Warehouse Developer

GetOrderStatusReports

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, query, 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 str(400) Req. The name/code of your client
UserName str(50) Req. Your username
Password str(50) Req. Your password
query object Req. A query object
query
OrderNumbersToReport str[] A list of the order numbers which you want to search for.

Response XML

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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

OrderStatusReport
OrderId int Ongoing's internal id for this order.
GoodsOwnerId int The id of the client.
GoodsOwnerOrderNumber str(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 str(100) The goodsowner reference number.
OrderStatusNumber int The order status number.
OrderStatusText str(50) The name of the order status (e.g. "Picked" or "Collected").
OrderStatusIsPicked bool True if the order has been marked as Picked.
OrderStatusIsDelivered bool True if the order has been marked as Delivered.
OrderedNumberOfItems dec The number of items which have been ordered.
PickedNumberOfItems dec The number of items which have been picked.