RemoveOrderPalletItem
This function allows you to remove pallet items from orders.
Tags: RemoveOrderPalletItem, RemoveOrderPalletItemOperation, RemoveOrderPalletItemResponse, RemoveOrderPalletItemResult, RemoveOrderPalletItemError
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/RemoveOrderPalletItem"
<?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>
<RemoveOrderPalletItem xmlns="http://ongoingsystems.se/Automation">
<UserName>string</UserName>
<Password>string</Password>
<Operation>
<OrderId>int</OrderId>
<PalletItemId>int</PalletItemId>
<RemoveArticleItemsFromPalletItem>boolean</RemoveArticleItemsFromPalletItem>
</Operation>
</RemoveOrderPalletItem>
</soap:Body>
</soap:Envelope>
Request specification
RemoveOrderPalletItem |
UserName |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
Operation |
RemoveOrderPalletItemOperation |
Req. |
The operation object |
RemoveOrderPalletItemOperation |
OrderId |
int |
Req. |
The order ID of the order which contains the pallet item. |
PalletItemId |
int |
Req. |
The pallet item ID. |
RemoveArticleItemsFromPalletItem |
boolean |
|
By default, if any article items have been placed on the pallet item, you will not be permitted to delete the pallet item. If you set this to true, then the article items will be removed from the pallet item first. |
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>
<RemoveOrderPalletItemResponse xmlns="http://ongoingsystems.se/Automation">
<RemoveOrderPalletItemResult>
<Errors>
<RemoveOrderPalletItemError>
<Message>string</Message>
<ErrorType>UnknownError or LogonError or GoodsOwnerIsDeleted or OrderIdDoesNotExist or PalletItemIdDoesNotExist or PalletItemDoesNotBelongToOrder or PalletItemHasArticleItems or PalletItemIsParentOfOtherPalletItem</ErrorType>
</RemoveOrderPalletItemError>
<RemoveOrderPalletItemError>
<Message>string</Message>
<ErrorType>UnknownError or LogonError or GoodsOwnerIsDeleted or OrderIdDoesNotExist or PalletItemIdDoesNotExist or PalletItemDoesNotBelongToOrder or PalletItemHasArticleItems or PalletItemIsParentOfOtherPalletItem</ErrorType>
</RemoveOrderPalletItemError>
</Errors>
<Success>boolean</Success>
</RemoveOrderPalletItemResult>
</RemoveOrderPalletItemResponse>
</soap:Body>
</soap:Envelope>
Response specification
RemoveOrderPalletItemResponse |
RemoveOrderPalletItemResult |
RemoveOrderPalletItemResult |
|
RemoveOrderPalletItemResult |
Errors |
RemoveOrderPalletItemError[] |
A list of RemoveOrderPalletItemError objects |
Success |
boolean |
True if successful, false otherwise. |
RemoveOrderPalletItemError |
Message |
string |
Message explaining the error. |
ErrorType |
enum |
An element of type RemoveOrderPalletItemErrorType. |