GetWarehouseTransferOrderByQuery

A warehouse transfer order is a type of order which used to transfer (move) goods between different warehouses. This call allows you to query for warehouse transfer orders using various filters.

Tags: GetWarehouseTransferOrderByQuery, WarehouseTransferOrderFilters, GetWarehouseTransferOrderByQueryResponse, GetWarehouseTransferOrdersResult, WarehouseTransferOrderInfo, WarehouseTransferOrderInfoHeader, WarehouseTransferOrderLineInfo, WarehouseTransferOrderLineArticleInfo, TransferArticleItemInfo, ArticleItemClassInfo

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/GetWarehouseTransferOrderByQuery"

<?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>
    <GetWarehouseTransferOrderByQuery xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <query>
        <IsDelivered>boolean</IsDelivered>
        <FromWarehouseId>int</FromWarehouseId>
        <ToWarehouseId>int</ToWarehouseId>
        <OrderStatusFrom>int</OrderStatusFrom>
        <OrderStatusTo>int</OrderStatusTo>
        <LastUpdatedFrom>dateTime</LastUpdatedFrom>
        <LastUpdatedTo>dateTime</LastUpdatedTo>
        <WarehouseTransferOrderNumbersToGet>
          <string>string</string>
          <string>string</string>
        </WarehouseTransferOrderNumbersToGet>
        <WarehouseTransferOrderIdsToGet>
          <int>int</int>
          <int>int</int>
        </WarehouseTransferOrderIdsToGet>
        <ReferenceNumber>string</ReferenceNumber>
      </query>
    </GetWarehouseTransferOrderByQuery>
  </soap:Body>
</soap:Envelope>

Request specification

GetWarehouseTransferOrderByQuery
GoodsOwnerCode string(400) Req. The name/code of your client
UserName string(50) Req. Your username
Password string(50) Req. Your password
query WarehouseTransferOrderFilters Req. The query object
WarehouseTransferOrderFilters
IsDelivered boolean Filter for whether the order has been marked as delivered
FromWarehouseId int Ongoing WMS internal id of the warehouse which the goods are being sent from
ToWarehouseId int Ongoing WMS internal id of the warehouse which the goods are being sent to
OrderStatusFrom int Order status from
OrderStatusTo int Order status to
LastUpdatedFrom dateTime Filter for orders which have been updated after this date
LastUpdatedTo dateTime Filter for orders which have been updated before this date
WarehouseTransferOrderNumbersToGet string[] A list of order numbers
WarehouseTransferOrderIdsToGet int[] A list of Ongoing WMS internal ids for the warehouse transfer orders
ReferenceNumber string Obsolete, do not use.

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>
    <GetWarehouseTransferOrderByQueryResponse xmlns="http://ongoingsystems.se/WSI">
      <GetWarehouseTransferOrderByQueryResult>
        <Orders>
          <WarehouseTransferOrderInfo>
            <Header>
              <FromWarehouseCode>string</FromWarehouseCode>
              <ToWarehouseCode>string</ToWarehouseCode>
              <TransitWarehouseCode>string</TransitWarehouseCode>
              <OrderComment>string</OrderComment>
              <OrderNumber>string</OrderNumber>
              <OrderId>int</OrderId>
              <OrderStatusId>int</OrderStatusId>
            </Header>
            <OrderLines>
              <WarehouseTransferOrderLineInfo>
                <Article>
                  <ArticleName>string</ArticleName>
                  <ArticleNumber>string</ArticleNumber>
                </Article>
                <LineNumber>string</LineNumber>
                <Comment>string</Comment>
                <NumberOfItems>decimal</NumberOfItems>
                <NewArticleItemStatusCode>string</NewArticleItemStatusCode>
                <NewArticleItemStatusName>string</NewArticleItemStatusName>
                <Items>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                </Items>
              </WarehouseTransferOrderLineInfo>
              <WarehouseTransferOrderLineInfo>
                <Article>
                  <ArticleName>string</ArticleName>
                  <ArticleNumber>string</ArticleNumber>
                </Article>
                <LineNumber>string</LineNumber>
                <Comment>string</Comment>
                <NumberOfItems>decimal</NumberOfItems>
                <NewArticleItemStatusCode>string</NewArticleItemStatusCode>
                <NewArticleItemStatusName>string</NewArticleItemStatusName>
                <Items>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                </Items>
              </WarehouseTransferOrderLineInfo>
            </OrderLines>
          </WarehouseTransferOrderInfo>
          <WarehouseTransferOrderInfo>
            <Header>
              <FromWarehouseCode>string</FromWarehouseCode>
              <ToWarehouseCode>string</ToWarehouseCode>
              <TransitWarehouseCode>string</TransitWarehouseCode>
              <OrderComment>string</OrderComment>
              <OrderNumber>string</OrderNumber>
              <OrderId>int</OrderId>
              <OrderStatusId>int</OrderStatusId>
            </Header>
            <OrderLines>
              <WarehouseTransferOrderLineInfo>
                <Article>
                  <ArticleName>string</ArticleName>
                  <ArticleNumber>string</ArticleNumber>
                </Article>
                <LineNumber>string</LineNumber>
                <Comment>string</Comment>
                <NumberOfItems>decimal</NumberOfItems>
                <NewArticleItemStatusCode>string</NewArticleItemStatusCode>
                <NewArticleItemStatusName>string</NewArticleItemStatusName>
                <Items>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                </Items>
              </WarehouseTransferOrderLineInfo>
              <WarehouseTransferOrderLineInfo>
                <Article>
                  <ArticleName>string</ArticleName>
                  <ArticleNumber>string</ArticleNumber>
                </Article>
                <LineNumber>string</LineNumber>
                <Comment>string</Comment>
                <NumberOfItems>decimal</NumberOfItems>
                <NewArticleItemStatusCode>string</NewArticleItemStatusCode>
                <NewArticleItemStatusName>string</NewArticleItemStatusName>
                <Items>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                  <TransferArticleItemInfo>
                    <IsDelivered>boolean</IsDelivered>
                    <IsPicked>boolean</IsPicked>
                    <IsTransfer>boolean</IsTransfer>
                    <NumberOfItems>decimal</NumberOfItems>
                    <Serial>string</Serial>
                    <BatchNo>string</BatchNo>
                    <ArticleItemStatusCode>string</ArticleItemStatusCode>
                    <ArticleItemStatusName>string</ArticleItemStatusName>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                    <ArticleItemClass>
                      <Code>string</Code>
                      <Name>string</Name>
                      <Id>int</Id>
                    </ArticleItemClass>
                  </TransferArticleItemInfo>
                </Items>
              </WarehouseTransferOrderLineInfo>
            </OrderLines>
          </WarehouseTransferOrderInfo>
        </Orders>
      </GetWarehouseTransferOrderByQueryResult>
    </GetWarehouseTransferOrderByQueryResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetWarehouseTransferOrderByQueryResponse
GetWarehouseTransferOrderByQueryResult GetWarehouseTransferOrdersResult
GetWarehouseTransferOrdersResult
Orders WarehouseTransferOrderInfo[]
WarehouseTransferOrderInfo
Header WarehouseTransferOrderInfoHeader Elements of Header
OrderLines WarehouseTransferOrderLineInfo[] Elements of OrderLines
WarehouseTransferOrderInfoHeader
FromWarehouseCode string(50) The code of the warehouse which the goods are being sent from
ToWarehouseCode string(50) The code of the warehouse which the goods are being sent to
TransitWarehouseCode string
OrderComment string(500) Order comment
OrderNumber string(100) Order number
OrderId int Ongoing WMS internal id for the order
OrderStatusId int Order status
WarehouseTransferOrderLineInfo
Article WarehouseTransferOrderLineArticleInfo Elements of Article, representing the SKU which was moved
LineNumber string(50) Line number
Comment string(300) Line comment
NumberOfItems decimal Number of items
NewArticleItemStatusCode string(50) The status code which the items received when they were moved
NewArticleItemStatusName string(100) The status name which the items received when they were moved
Items TransferArticleItemInfo[] Elements of TransferArticleItemInfo, representing the exact article items which were moved
WarehouseTransferOrderLineArticleInfo
ArticleName string(200) Article name
ArticleNumber string(100) Article number
TransferArticleItemInfo
IsDelivered boolean Is delivered
IsPicked boolean Is picked
IsTransfer boolean Is transfer
NumberOfItems decimal Number of items
Serial string(128) Serial number of this particular item
BatchNo string(50) Batch number of this particular item
ArticleItemStatusCode string(50) Article item status code of this particular item
ArticleItemStatusName string(100) Article item status name of this particular item
ArticleItemClass ArticleItemClassInfo The article's classes
ArticleItemClassInfo
Code string(100) Code of article item class
Name string(200) Name of article item class
Id int Ongoing WMS internal id of the article item class