Ongoing Warehouse Developer

GetMovementArticleItemsByQuery

Returns all movement article items which match a particular query.

Tags: GetMovementArticleItemsByQuery, Query, SpecialFilters, GetMovementArticleItemsByQueryResponse, GetMovementArticleItemsByQueryResult, MovementArticleItemInfo, ArticleInfo, OrderInfo

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/Automation/GetMovementArticleItemsByQuery"

<?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>
    <GetMovementArticleItemsByQuery xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Query>
        <FromLocations>
          <string>string</string>
          <string>string</string>
        </FromLocations>
        <ToLocations>
          <string>string</string>
          <string>string</string>
        </ToLocations>
        <OrderId>int</OrderId>
        <ArticleItemId>int</ArticleItemId>
        <ArticleDefId>int</ArticleDefId>
        <GoodsOwnerId>int</GoodsOwnerId>
        <SpecialFilters>
          <OnlyGetMovementArticleItemsToBeHandled>boolean</OnlyGetMovementArticleItemsToBeHandled>
        </SpecialFilters>
      </Query>
    </GetMovementArticleItemsByQuery>
  </soap:Body>
</soap:Envelope>
+

Request specification

GetMovementArticleItemsByQuery
UserName str(50) Req. Your username.
Password str(50) Req. Your password.
Query object Req. A Query object
Query
FromLocations str[] Filter for movement article items being moved from these locations
ToLocations str[] Filter for movement article items being moved to these locations
OrderId int Filter for movement article items belonging to this order id
ArticleItemId int Filter for movement article items for this article item
ArticleDefId int Filter for movement article items for this article
GoodsOwnerId int Filter for movement article items for this goodsowner
SpecialFilters object A SpecialFilters object
SpecialFilters
OnlyGetMovementArticleItemsToBeHandled bool Filter for article items which have been marked as "to be handled" by MovementArticleItemHandled

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>
    <GetMovementArticleItemsByQueryResponse xmlns="http://ongoingsystems.se/Automation">
      <GetMovementArticleItemsByQueryResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <MovementArticleItems>
          <MovementArticleItemInfo>
            <Article>
              <ArticleName>string</ArticleName>
              <ArticleNumber>string</ArticleNumber>
              <ArticleDefId>int</ArticleDefId>
              <GoodsOwnerName>string</GoodsOwnerName>
              <GoodsOwnerId>int</GoodsOwnerId>
              <ArticleGroupCode>string</ArticleGroupCode>
              <ProductCode>string</ProductCode>
              <BarCode>string</BarCode>
            </Article>
            <Order>
              <OrderNumber>string</OrderNumber>
              <OrderId>int</OrderId>
              <WayOfDelivery>string</WayOfDelivery>
            </Order>
            <Serial>string</Serial>
            <NumberOfItems>decimal</NumberOfItems>
            <ArticleItemId>int</ArticleItemId>
            <MovementArticleItemId>int</MovementArticleItemId>
            <WorkOrderId>int</WorkOrderId>
            <Batch>string</Batch>
            <FromLocation>string</FromLocation>
            <ToLocation>string</ToLocation>
            <OriginalArticleItemId>int</OriginalArticleItemId>
          </MovementArticleItemInfo>
          <MovementArticleItemInfo>
            <Article>
              <ArticleName>string</ArticleName>
              <ArticleNumber>string</ArticleNumber>
              <ArticleDefId>int</ArticleDefId>
              <GoodsOwnerName>string</GoodsOwnerName>
              <GoodsOwnerId>int</GoodsOwnerId>
              <ArticleGroupCode>string</ArticleGroupCode>
              <ProductCode>string</ProductCode>
              <BarCode>string</BarCode>
            </Article>
            <Order>
              <OrderNumber>string</OrderNumber>
              <OrderId>int</OrderId>
              <WayOfDelivery>string</WayOfDelivery>
            </Order>
            <Serial>string</Serial>
            <NumberOfItems>decimal</NumberOfItems>
            <ArticleItemId>int</ArticleItemId>
            <MovementArticleItemId>int</MovementArticleItemId>
            <WorkOrderId>int</WorkOrderId>
            <Batch>string</Batch>
            <FromLocation>string</FromLocation>
            <ToLocation>string</ToLocation>
            <OriginalArticleItemId>int</OriginalArticleItemId>
          </MovementArticleItemInfo>
        </MovementArticleItems>
      </GetMovementArticleItemsByQueryResult>
    </GetMovementArticleItemsByQueryResponse>
  </soap:Body>
</soap:Envelope>
+

Response specification

GetMovementArticleItemsByQueryResponse
GetArticleItemsByQueryResult obj A GetMovementArticleItemsByQueryResult object
GetMovementArticleItemsByQueryResult
Success bool True if the call succeeded, false otherwise
Message str If the call failed, this field contains the error message
MovementArticleItems MovementArticleItemInfo[] The movement article items which matched the filter, as a list of MovementArticleItemInfo objects
MovementArticleItemInfo
Article object An ArticleInfo object, containing information about the article definition
Order object An OrderInfo object, containing information about the order which the movement article item is tied to
Serial str(128) The serial number of the article item
NumberOfItems dec The quantity of the article item
ArticleItemId int The internal system id of the article item
MovementArticleItemId int The internal system id of the movement article item
WorkOrderId int The work order id
Batch str(50) The batch number of the article item
FromLocation str(50) The name of the location where the article item is being moved from
ToLocation str(50) The name of the location where the article item is being moved to
OriginalArticleItemId int The original article item id of this item. If an article item has been created by splitting a previously existing article item, this field will tell you the id of the original article item.
ArticleInfo
ArticleName str(200) The article name
ArticleNumber str(100) The article number
ArticleDefId int The internal system id of the article
GoodsOwnerName str(400) The name of the goodsowner to which the article belongs
GoodsOwnerId int The internal system id of the goodsowner to which the article belongs
ArticleGroupCode str(100) The code of the group to which the article belongs
ProductCode str(200) Product code
BarCode str(100) The barcode/EAN of the article
OrderInfo
OrderNumber str(50) The order number. Same as GoodsOwnerOrderNumber in ProcessOrder
OrderId int The internal system id of the order
WayOfDelivery str(50) The way of delivery of the order