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, MoveArticleItemOperation, MoveArticleItemAdditionalFilters, MoveToPalletItem, ByUser, MoveSetArticleItemFields, PalletType_MoveArticleItem, MoveArticleItemResponse, MoveArticleItemResult, MoveArticleItemError, MovedArticleItem
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 or Serial or OriginalArticleItemId or FiltersSpecified</ArticleItemIdentification>
<Serial>string</Serial>
<ToLocation>string</ToLocation>
<NumberOfItems>decimal</NumberOfItems>
<OriginalArticleItemId>int</OriginalArticleItemId>
<AdditionalFilters>
<OrderId>int</OrderId>
<WorkOrderId>int</WorkOrderId>
<FromLocation>string</FromLocation>
<ArticleItemPalletItemId>int</ArticleItemPalletItemId>
<ArticleItemPalletItemLabelId>string</ArticleItemPalletItemLabelId>
<ArticleItemParentPalletItemId>int</ArticleItemParentPalletItemId>
<ArticleItemParentPalletItemLabelId>string</ArticleItemParentPalletItemLabelId>
<ArticleDefId>int</ArticleDefId>
</AdditionalFilters>
<PalletItem>
<Operation>Clear or Find or FindOrCreate</Operation>
<PalletItemIdentification>LabelIdAndPalletType or PalletItemId</PalletItemIdentification>
<LabelId>string</LabelId>
<Serial>string</Serial>
<Comment>string</Comment>
<PalletItemId>int</PalletItemId>
<PalletType>
<PalletTypeCode>string</PalletTypeCode>
</PalletType>
<Parent>
<Operation>Clear or Find or FindOrCreate</Operation>
<PalletItemIdentification>LabelIdAndPalletType or PalletItemId</PalletItemIdentification>
<LabelId>string</LabelId>
<Serial>string</Serial>
<Comment>string</Comment>
<PalletItemId>int</PalletItemId>
<PalletType>
<PalletTypeCode>string</PalletTypeCode>
</PalletType>
<Parent>object of type MoveToPalletItem</Parent>
</Parent>
</PalletItem>
<MovedByUser>
<UserName>string</UserName>
</MovedByUser>
<SetArticleItemFields>
<ArticleItemFreeText1>string</ArticleItemFreeText1>
</SetArticleItemFields>
</Operation>
</MoveArticleItem>
</soap:Body>
</soap:Envelope>
Request specification
MoveArticleItem |
UserName |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
Operation |
MoveArticleItemOperation |
Req. |
The operation object |
MoveArticleItemOperation |
ArticleItemId |
int |
|
The article item id to move. Required if ArticleItemIdentification = ArticleItemId |
ArticleItemIdentification |
enum |
|
Defines what you want to identify the article item id by: - ArticleItemId - Serial - OriginalArticleItemId - FiltersSpecified
|
Serial |
string(128) |
|
The serial number to move. Required if ArticleItemIdentification = Serial |
ToLocation |
string(50) |
Req. |
The name of the location where you want to move the article item to |
NumberOfItems |
decimal |
Req. |
The quantity which you wish to move |
OriginalArticleItemId |
int |
|
The original article item id to move. Required if ArticleItemIdentification = OriginalArticleItemId. Only use if you know what you are doing |
AdditionalFilters |
MoveArticleItemAdditionalFilters |
|
An MoveArticleItemAdditionalFilters 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) |
PalletItem |
MoveToPalletItem |
|
An element of type MoveToPalletItem. |
MovedByUser |
ByUser |
Req. |
An element of type ByUser. Designates which user did the movement. |
SetArticleItemFields |
MoveSetArticleItemFields |
|
An MoveSetArticleItemFields object. Specify if you also want to update fields for the moved ArticleItems |
MoveArticleItemAdditionalFilters |
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) |
FromLocation |
string(50) |
|
Indicate which location to move the ArticleItem from. |
ArticleItemPalletItemId |
int |
|
|
ArticleItemPalletItemLabelId |
string |
|
|
ArticleItemParentPalletItemId |
int |
|
|
ArticleItemParentPalletItemLabelId |
string |
|
|
ArticleDefId |
int |
|
Ongoing WMS system id for an article. |
MoveToPalletItem |
Operation |
enum |
|
An element of type MoveToPalletItemOperation. |
PalletItemIdentification |
enum |
|
An element of type PalletItemIdentification_MoveArticleItem. |
LabelId |
string |
|
|
Serial |
string |
|
|
Comment |
string |
|
|
PalletItemId |
int |
|
|
PalletType |
PalletType_MoveArticleItem |
|
An element of type PalletType_MoveArticleItem. |
Parent |
MoveToPalletItem |
|
An element of type MoveToPalletItem. |
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. |
MoveSetArticleItemFields |
ArticleItemFreeText1 |
string(100) |
|
Free text field belonging to the article item. |
PalletType_MoveArticleItem |
PalletTypeCode |
string |
|
|
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>
<MoveArticleItemResponse xmlns="http://ongoingsystems.se/Automation">
<MoveArticleItemResult>
<Success>boolean</Success>
<Message>string</Message>
<Errors>
<MoveArticleItemError>
<Message>string</Message>
<ErrorType>NoArticleItemsFound or LogonError or LocationNotFound or PalletTypeNotFound or PalletItemNotFound or UnknownError or ErrorWhileSaving or InvalidNumberOfItems or MandatoryArticleItemIdentificationFieldNotSpecified or MandatoryPalletItemIdentificationFieldNotSpecified or MoreThanOneMatchingPalletItemFound</ErrorType>
</MoveArticleItemError>
<MoveArticleItemError>
<Message>string</Message>
<ErrorType>NoArticleItemsFound or LogonError or LocationNotFound or PalletTypeNotFound or PalletItemNotFound or UnknownError or ErrorWhileSaving or InvalidNumberOfItems or MandatoryArticleItemIdentificationFieldNotSpecified or MandatoryPalletItemIdentificationFieldNotSpecified or MoreThanOneMatchingPalletItemFound</ErrorType>
</MoveArticleItemError>
</Errors>
<MovedArticleItems>
<MovedArticleItem>
<ArticleItemId>int</ArticleItemId>
<LocationId>int</LocationId>
<NumberOfItems>decimal</NumberOfItems>
<PalletItemId>int</PalletItemId>
</MovedArticleItem>
<MovedArticleItem>
<ArticleItemId>int</ArticleItemId>
<LocationId>int</LocationId>
<NumberOfItems>decimal</NumberOfItems>
<PalletItemId>int</PalletItemId>
</MovedArticleItem>
</MovedArticleItems>
</MoveArticleItemResult>
</MoveArticleItemResponse>
</soap:Body>
</soap:Envelope>
Response specification
MoveArticleItemResponse |
MoveArticleItemResult |
MoveArticleItemResult |
|
MoveArticleItemResult |
Success |
boolean |
True if the call succeeded, false otherwise |
Message |
string |
If the call failed, this field contains the error message |
Errors |
MoveArticleItemError[] |
|
MovedArticleItems |
MovedArticleItem[] |
|
MoveArticleItemError |
Message |
string |
|
ErrorType |
enum |
An element of type MoveArticleItemErrorType. |
MovedArticleItem |
ArticleItemId |
int |
|
LocationId |
int |
|
NumberOfItems |
decimal |
|
PalletItemId |
int |
|