MovePalletItem

Moves a particular pallet item, including all of its descendants (child pallet items) and contents, to a new location.

Tags: MovePalletItem, MovePalletItemOperation, MovePalletItemAdditionalFilters, ByUser, MovePalletItemResponse, MovePalletItemResult, MovePalletItemError, MovedPalletItem, PalletItemInfo_MovePalletItemResult, LocationInfo_MovePalletItemResult, ExecutedMovementPalletItem_MovePalletItemResult, MovedArticleItem_MovePalletItemResult, ArticleInfo_MovePalletItemResult

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

<?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>
    <MovePalletItem xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <PalletItemId>int</PalletItemId>
        <PalletItemIdentification>PalletItemId or LabelId or FiltersSpecified</PalletItemIdentification>
        <LabelId>string</LabelId>
        <ToLocation>string</ToLocation>
        <AdditionalFilters>
          <WorkOrderId>int</WorkOrderId>
          <FromLocation>string</FromLocation>
          <GoodsOwnerId>int</GoodsOwnerId>
        </AdditionalFilters>
        <MovedByUser>
          <UserName>string</UserName>
        </MovedByUser>
      </Operation>
    </MovePalletItem>
  </soap:Body>
</soap:Envelope>

Request specification

MovePalletItem
UserName string(50) Req. Your username
Password string(50) Req. Your password
Operation MovePalletItemOperation Req. The operation object
MovePalletItemOperation
PalletItemId int The pallet item ID to move. Required if PalletItemIdentification = PalletItemId
PalletItemIdentification enum Defines what you want to identify the pallet item by:
 - PalletItemId
 - LabelId
 - FiltersSpecified
LabelId string(50) The label ID to move. Required if PalletItemIdentification = LabelId
ToLocation string(50) Req. The name of the location where you want to move the pallet item to
AdditionalFilters MovePalletItemAdditionalFilters An MovePalletItemAdditionalFilters 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 GetMovementPalletItemsByQuery function)
MovedByUser ByUser Req. An element of type ByUser. Designates which user did the movement.
MovePalletItemAdditionalFilters
WorkOrderId int Indicate what WorkOrderId the PalletItem to move should exist on (but not yet executed)
FromLocation string(50) Indicate which location to move the PalletItem from
GoodsOwnerId int The internal system ID of the goodsowner to which the pallet item belongs
ByUser
UserName string(50) Req. The name of the user. Must be an actual user in Ongoing WMS. Will be set as the user that performed the packing.

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>
    <MovePalletItemResponse xmlns="http://ongoingsystems.se/Automation">
      <MovePalletItemResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <Errors>
          <MovePalletItemError>
            <Message>string</Message>
            <ErrorType>NoPalletItemsFound or LogonError or LocationNotFound or PalletTypeNotFound or PalletItemNotFound or UnknownError or ErrorWhileSaving or MandatoryPalletItemIdentificationFieldNotSpecified or MandatoryPalletItemsIdentificationFieldNotSpecified</ErrorType>
          </MovePalletItemError>
          <MovePalletItemError>
            <Message>string</Message>
            <ErrorType>NoPalletItemsFound or LogonError or LocationNotFound or PalletTypeNotFound or PalletItemNotFound or UnknownError or ErrorWhileSaving or MandatoryPalletItemIdentificationFieldNotSpecified or MandatoryPalletItemsIdentificationFieldNotSpecified</ErrorType>
          </MovePalletItemError>
        </Errors>
        <MovedPalletItems>
          <MovedPalletItem>
            <PalletItem>
              <Id>int</Id>
              <LabelId>string</LabelId>
              <Serial>string</Serial>
            </PalletItem>
            <PreviousLocation>
              <LocationId>int</LocationId>
              <LocationName>string</LocationName>
            </PreviousLocation>
            <CurrentLocation>
              <LocationId>int</LocationId>
              <LocationName>string</LocationName>
            </CurrentLocation>
            <ExecutedMovementPalletItems>
              <ExecutedMovementPalletItem_MovePalletItemResult>
                <MovementPalletItemId>int</MovementPalletItemId>
              </ExecutedMovementPalletItem_MovePalletItemResult>
              <ExecutedMovementPalletItem_MovePalletItemResult>
                <MovementPalletItemId>int</MovementPalletItemId>
              </ExecutedMovementPalletItem_MovePalletItemResult>
            </ExecutedMovementPalletItems>
            <MovedArticleItems>
              <MovedArticleItem_MovePalletItemResult>
                <ArticleItemId>int</ArticleItemId>
                <NumberOfItems>decimal</NumberOfItems>
                <PreviousLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </PreviousLocation>
                <CurrentLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </CurrentLocation>
                <Article>
                  <ArticleDefId>int</ArticleDefId>
                  <ArticleNumber>string</ArticleNumber>
                  <ArticleName>string</ArticleName>
                </Article>
              </MovedArticleItem_MovePalletItemResult>
              <MovedArticleItem_MovePalletItemResult>
                <ArticleItemId>int</ArticleItemId>
                <NumberOfItems>decimal</NumberOfItems>
                <PreviousLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </PreviousLocation>
                <CurrentLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </CurrentLocation>
                <Article>
                  <ArticleDefId>int</ArticleDefId>
                  <ArticleNumber>string</ArticleNumber>
                  <ArticleName>string</ArticleName>
                </Article>
              </MovedArticleItem_MovePalletItemResult>
            </MovedArticleItems>
            <MovedChildPalletItems>object of type ArrayOfMovedPalletItem</MovedChildPalletItems>
          </MovedPalletItem>
          <MovedPalletItem>
            <PalletItem>
              <Id>int</Id>
              <LabelId>string</LabelId>
              <Serial>string</Serial>
            </PalletItem>
            <PreviousLocation>
              <LocationId>int</LocationId>
              <LocationName>string</LocationName>
            </PreviousLocation>
            <CurrentLocation>
              <LocationId>int</LocationId>
              <LocationName>string</LocationName>
            </CurrentLocation>
            <ExecutedMovementPalletItems>
              <ExecutedMovementPalletItem_MovePalletItemResult>
                <MovementPalletItemId>int</MovementPalletItemId>
              </ExecutedMovementPalletItem_MovePalletItemResult>
              <ExecutedMovementPalletItem_MovePalletItemResult>
                <MovementPalletItemId>int</MovementPalletItemId>
              </ExecutedMovementPalletItem_MovePalletItemResult>
            </ExecutedMovementPalletItems>
            <MovedArticleItems>
              <MovedArticleItem_MovePalletItemResult>
                <ArticleItemId>int</ArticleItemId>
                <NumberOfItems>decimal</NumberOfItems>
                <PreviousLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </PreviousLocation>
                <CurrentLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </CurrentLocation>
                <Article>
                  <ArticleDefId>int</ArticleDefId>
                  <ArticleNumber>string</ArticleNumber>
                  <ArticleName>string</ArticleName>
                </Article>
              </MovedArticleItem_MovePalletItemResult>
              <MovedArticleItem_MovePalletItemResult>
                <ArticleItemId>int</ArticleItemId>
                <NumberOfItems>decimal</NumberOfItems>
                <PreviousLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </PreviousLocation>
                <CurrentLocation>
                  <LocationId>int</LocationId>
                  <LocationName>string</LocationName>
                </CurrentLocation>
                <Article>
                  <ArticleDefId>int</ArticleDefId>
                  <ArticleNumber>string</ArticleNumber>
                  <ArticleName>string</ArticleName>
                </Article>
              </MovedArticleItem_MovePalletItemResult>
            </MovedArticleItems>
            <MovedChildPalletItems>object of type ArrayOfMovedPalletItem</MovedChildPalletItems>
          </MovedPalletItem>
        </MovedPalletItems>
      </MovePalletItemResult>
    </MovePalletItemResponse>
  </soap:Body>
</soap:Envelope>

Response specification

MovePalletItemResponse
MovePalletItemResult MovePalletItemResult
MovePalletItemResult
Success boolean True if the call succeeded, false otherwise
Message string If the call failed, this field contains the error message
Errors MovePalletItemError[] List of errors that occurred during the operation
MovedPalletItems MovedPalletItem[] List of pallet items that were successfully moved
MovePalletItemError
Message string The error message
ErrorType enum The type of error that occurred
MovedPalletItem
PalletItem PalletItemInfo_MovePalletItemResult An PalletItemInfo_MovePalletItemResult object, containing information about the pallet item
PreviousLocation LocationInfo_MovePalletItemResult The location the pallet item was moved from (null if it had no location)
CurrentLocation LocationInfo_MovePalletItemResult The location the pallet item was moved to. Will be the same as the previous location if the move was unsuccessful.
ExecutedMovementPalletItems ExecutedMovementPalletItem_MovePalletItemResult[] List of movement pallet items that were executed during this move
MovedArticleItems MovedArticleItem_MovePalletItemResult[] List of article items that were moved with this pallet item
MovedChildPalletItems MovedPalletItem[] List of child pallet items that were moved with this pallet item
PalletItemInfo_MovePalletItemResult
Id int Ongoing WMS internal id of the pallet item
LabelId string(50) Label of the pallet item
Serial string(100) Serial number of the pallet item
LocationInfo_MovePalletItemResult
LocationId int The ID of the location
LocationName string The name of the location
ExecutedMovementPalletItem_MovePalletItemResult
MovementPalletItemId int The ID of the movement pallet item that was executed
MovedArticleItem_MovePalletItemResult
ArticleItemId int The ID of the article item that was moved
NumberOfItems decimal The number of items that were moved
PreviousLocation LocationInfo_MovePalletItemResult The location the article item was moved from
CurrentLocation LocationInfo_MovePalletItemResult The location the article item was moved to
Article ArticleInfo_MovePalletItemResult Information about the article
ArticleInfo_MovePalletItemResult
ArticleDefId int The ID of the article definition
ArticleNumber string The article number
ArticleName string The name of the article