Ongoing Warehouse logo

Ongoing Warehouse Developer

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, query, GetWarehouseTransferOrderByQueryResult, WarehouseTransferOrderInfo, Header, OrderLines, WarehouseTransferOrderLineInfo, Article, TransferArticleItemInfo

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 str(400) Req. The name/code of your client
UserName str(50) Req. Your username
Password str(50) Req. Your password
query object Req. Defines the query, what to filter for
query
IsDelivered bool Filter for whether the order has been marked as delivered
FromWarehouseId int The Ongoing system id of the warehouse which the goods are being sent from
ToWarehouseId int The Ongoing system 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 object A list of order numbers
WarehouseTransferOrderIdsToGet object A list of Ongoing system ids
ReferenceNumber str Obsolete, do not use

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>
      <GetWarehouseTransferOrderByQueryResponse xmlns="http://ongoingsystems.se/WSI">
         <GetWarehouseTransferOrderByQueryResult>
            <Orders>
               <WarehouseTransferOrderInfo>
                  <Header>
                     <FromWarehouseCode>string</FromWarehouseCode>
                     <ToWarehouseCode>string</ToWarehouseCode>
                     <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></NewArticleItemStatusName>
                        <Items>
                           <TransferArticleItemInfo>
                              <IsDelivered>bool</IsDelivered>
                              <IsPicked>bool</IsPicked>
                              <IsTransfer>bool</IsTransfer>
                              <NumberOfItems>decimal</NumberOfItems>
                              <Serial>string</Serial>
                              <BatchNo>string</BatchNo>
                              <ArticleItemStatusCode>string</ArticleItemStatusCode>
                              <ArticleItemStatusName>string</ArticleItemStatusName>
                           </TransferArticleItemInfo>
                           <TransferArticleItemInfo>
                              <IsDelivered>bool</IsDelivered>
                              <IsPicked>bool</IsPicked>
                              <IsTransfer>bool</IsTransfer>
                              <NumberOfItems>decimal</NumberOfItems>
                              <Serial>string</Serial>
                              <BatchNo>string</BatchNo>
                              <ArticleItemStatusCode>string</ArticleItemStatusCode>
                              <ArticleItemStatusName>string</ArticleItemStatusName>
                           </TransferArticleItemInfo>
                        </Items>
                     </WarehouseTransferOrderLineInfo>
                  </OrderLines>
               </WarehouseTransferOrderInfo>
               <WarehouseTransferOrderInfo>
                  <Header>
                     <FromWarehouseCode>string</FromWarehouseCode>
                     <ToWarehouseCode>string</ToWarehouseCode>
                     <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></NewArticleItemStatusName>
                        <Items>
                           <TransferArticleItemInfo>
                              <IsDelivered>bool</IsDelivered>
                              <IsPicked>bool</IsPicked>
                              <IsTransfer>bool</IsTransfer>
                              <NumberOfItems>decimal</NumberOfItems>
                              <Serial>string</Serial>
                              <BatchNo>string</BatchNo>
                              <ArticleItemStatusCode>string</ArticleItemStatusCode>
                              <ArticleItemStatusName>string</ArticleItemStatusName>
                           </TransferArticleItemInfo>
                           <TransferArticleItemInfo>
                              <IsDelivered>bool</IsDelivered>
                              <IsPicked>bool</IsPicked>
                              <IsTransfer>bool</IsTransfer>
                              <NumberOfItems>decimal</NumberOfItems>
                              <Serial>string</Serial>
                              <BatchNo>string</BatchNo>
                              <ArticleItemStatusCode>string</ArticleItemStatusCode>
                              <ArticleItemStatusName>string</ArticleItemStatusName>
                           </TransferArticleItemInfo>
                        </Items>
                     </WarehouseTransferOrderLineInfo>
                  </OrderLines>
               </WarehouseTransferOrderInfo>
            </Orders>
         </GetWarehouseTransferOrderByQueryResult>
      </GetWarehouseTransferOrderByQueryResponse>
   </soap:Body>
</soap:Envelope>
+

Response specification

GetWarehouseTransferOrderByQueryResult
Orders object Elements of WarehouseTransferOrderInfo
WarehouseTransferOrderInfo
Header object Elements of Header
OrderLines object Elements of OrderLines
OrderLines
WarehouseTransferOrderLineInfo object Elements of WarehouseTransferOrderLineInfo
WarehouseTransferOrderLineInfo
Article object Elements of Article, representing the SKU which was moved
LineNumber str(50) Line number
Comment str(300) Line comment
NumberOfItems dec Number of items
NewArticleItemStatusCode str(50) The status code which the items received when they were moved
NewArticleItemStatusName str(100) The status name which the items received when they were moved
Items object Elements of TransferArticleItemInfo, representing the exact article items which were moved
Article
ArticleName str(200) Article name
ArticleNumber str(100) Article number
TransferArticleItemInfo
IsDelivered bool Is delivered
IsPicked bool Is picked
IsTransfer bool Is transfer
NumberOfItems dec Number of items
Serial str(128) Serial number of this particular item
BatchNo str(50) Batch number of this particular item
ArticleItemStatusCode str(50) Article item status code of this particular item
ArticleItemStatusName str(100) Article item status name of this particular item