Ongoing Warehouse logo
Ongoing Warehouse Developer

MoveArticleItem

Moves the specified quantity of a particular article item (or all article items with a specific serial number) to a new location.

Tags: MoveArticleItem, Operation, AdditionalFilters, MoveArticleItemResponse, MoveArticleItemResult

Request XML

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

<?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>
    <MoveArticleItem xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <ArticleItemId>int</ArticleItemId>
        <ArticleItemIdentification>ArticleItemId, Serial, or OriginalArticleItemId</ArticleItemIdentification>
        <Serial>string</Serial>
        <ToLocation>string</ToLocation>
        <NumberOfItems>decimal</NumberOfItems>
        <OriginalArticleItemId>int</OriginalArticleItemId>
        <AdditionalFilters>
            <OrderId>int</OrderId>
            <WorkOrderId>int</WorkOrderId>
        </AdditionalFilters>
      </Operation>
    </MoveArticleItem>
  </soap:Body>
</soap:Envelope>
+

Request specification

MoveArticleItem
UserName str(50) Req. Your username.
Password str(50) Req. Your password.
Operation object Req. An Operation object
Operation
ArticleItemIdentification enum Defines what you want to identify the article item id by:
 - ArticleItemId
 - Serial
 - OriginalArticleItemId
ArticleItemId int Req.* The article item id to move. Required if ArticleItemIdentification = ArticleItemId
Serial str(128) Req.* The serial number to move. Required if ArticleItemIdentification = Serial
ToLocation str(50) Req. The name of the location where you want to move the article item to
NumberOfItems dec Req. The quantity which you wish to move
OriginalArticleItemId int Req.* The original article item id to move. Required if ArticleItemIdentification = OriginalArticleItemId. Only use if you know what you are doing
AdditionalFilters obj An AdditionalFilters object. Apply filters to enable identification of exactly what item to move (e.g. the items current WorkOrderId or OrderId, for example attained from the GetMovementArticleItemsByQuery function)
AdditionalFilters
OrderId int Indicate what OrderId the ArticleItem to move should be allocated/picked to
WorkOrderId int Indicate what MovementOrderId the ArticleItem to move should exist on (but not yet executed)

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>
    <MoveArticleItemResponse xmlns="http://ongoingsystems.se/Automation">
      <MoveArticleItemResult>
        <Success>boolean</Success>
        <Message>string</Message>
      </MoveArticleItemResult>
    </MoveArticleItemResponse>
  </soap:Body>
</soap:Envelope>
+

Response specification

MoveArticleItemResponse
MoveArticleItemResult obj An MoveArticleItemResult object
MoveArticleItemResult
Success bool True if the call succeeded, false otherwise
Message str If the call failed, this field contains the error message