ProcessPickOrder
This function allows you to create a "pick order", which is a grouping of orders which can be used by the warehouse to pick multiple orders at the same time.
Tags: ProcessPickOrder, PickOrder_Automation, PickOrderHeader_Automation, OrderSpecificationPickOrder_Automation, PickOrderType_Automation, AssignedPicker_Automation, PickOrderLine_Automation, OrderLineIdentificationPickOrder_Automation, OrderLineArticleItemPickOrder_Automation, BinIndexHandling_Automation, ArticleItemIdentificationPickOrder_Automation, ProcessPickOrderResponse, ProcessPickOrderResult, ProcessPickOrderError
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/ProcessPickOrder"
<?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>
<ProcessPickOrder xmlns="http://ongoingsystems.se/Automation">
<UserName>string</UserName>
<Password>string</Password>
<PickOrder>
<Operation>Create</Operation>
<Header>
<PickOrderType>
<PickOrderTypeCode>string</PickOrderTypeCode>
<PickOrderTypeName>string</PickOrderTypeName>
</PickOrderType>
<PickingPriority>int</PickingPriority>
<Comment>string</Comment>
<AssignedPicker>
<UserName>string</UserName>
</AssignedPicker>
</Header>
<OrderSpecifications>
<OrderSpecification>
<OrderId>int</OrderId>
<PickOrderLines>
<PickOrderLine>
<OrderLineIdentification>
<OrderLineId>int</OrderLineId>
</OrderLineIdentification>
<ArticleItems>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
</ArticleItems>
<BinIndexHandling>
<BinIndex>int</BinIndex>
</BinIndexHandling>
</PickOrderLine>
<PickOrderLine>
<OrderLineIdentification>
<OrderLineId>int</OrderLineId>
</OrderLineIdentification>
<ArticleItems>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
</ArticleItems>
<BinIndexHandling>
<BinIndex>int</BinIndex>
</BinIndexHandling>
</PickOrderLine>
</PickOrderLines>
</OrderSpecification>
<OrderSpecification>
<OrderId>int</OrderId>
<PickOrderLines>
<PickOrderLine>
<OrderLineIdentification>
<OrderLineId>int</OrderLineId>
</OrderLineIdentification>
<ArticleItems>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
</ArticleItems>
<BinIndexHandling>
<BinIndex>int</BinIndex>
</BinIndexHandling>
</PickOrderLine>
<PickOrderLine>
<OrderLineIdentification>
<OrderLineId>int</OrderLineId>
</OrderLineIdentification>
<ArticleItems>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
<ArticleItem>
<Identification>
<ArticleItemId>int</ArticleItemId>
<OriginalArticleItemId>int</OriginalArticleItemId>
<LocationId>int</LocationId>
</Identification>
</ArticleItem>
</ArticleItems>
<BinIndexHandling>
<BinIndex>int</BinIndex>
</BinIndexHandling>
</PickOrderLine>
</PickOrderLines>
</OrderSpecification>
</OrderSpecifications>
</PickOrder>
</ProcessPickOrder>
</soap:Body>
</soap:Envelope>
Request specification
ProcessPickOrder |
UserName |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
PickOrder |
PickOrder_Automation |
Req. |
|
PickOrder_Automation |
Operation |
enum |
|
Must currently be 'Create'. |
Header |
PickOrderHeader_Automation |
|
Information about the pick order header. |
OrderSpecifications |
OrderSpecificationPickOrder_Automation[] |
|
Which order lines are attached to the pick order. |
OrderSpecificationPickOrder_Automation |
OrderId |
int |
|
The OrderId which the order line(s) belong to. |
PickOrderLines |
PickOrderLine_Automation[] |
|
A list of order lines which are to be placed on the pick order. |
PickOrderType_Automation |
PickOrderTypeCode |
string(100) |
|
Pick order type code. |
PickOrderTypeName |
string(100) |
|
Pick order type name. |
AssignedPicker_Automation |
UserName |
string(50) |
|
User name. |
PickOrderLine_Automation |
OrderLineIdentification |
OrderLineIdentificationPickOrder_Automation |
|
How to identify the order line. Currently only supports identification by the OrderLineId. |
ArticleItems |
OrderLineArticleItemPickOrder_Automation[] |
|
An optional field which specifies which article items belonging to the order line should be placed on the pick order. If this tag is not specified, then all article items on the order line will be placed on the pick order. |
BinIndexHandling |
BinIndexHandling_Automation |
|
An option field which specifies the bin number in the picking cart this pick order line belongs to. If this tag is not specified, the bin will be assigned automatically (one bin per order). |
OrderLineIdentificationPickOrder_Automation |
OrderLineId |
int |
|
Order line ID. |
OrderLineArticleItemPickOrder_Automation |
Identification |
ArticleItemIdentificationPickOrder_Automation |
|
How to identify the article items. |
BinIndexHandling_Automation |
BinIndex |
int |
|
Bin index. |
ArticleItemIdentificationPickOrder_Automation |
ArticleItemId |
int |
|
Article item ID. |
OriginalArticleItemId |
int |
|
Original article item ID. |
LocationId |
int |
|
Location ID. |
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>
<ProcessPickOrderResponse xmlns="http://ongoingsystems.se/Automation">
<ProcessPickOrderResult>
<PickOrderId>int</PickOrderId>
<Success>boolean</Success>
<ProcessPickOrderErrors>
<ProcessPickOrderError>
<Message>string</Message>
<ErrorType>LogonError or UnknownError or MissingPickOrderHeader or MissingPickOrderSpecifications or NoOrderLineIdentificationSpecified or MissingOrderLineIdentification or MissingArticleItemIdentification or PickOrderTypeError or PickOrderUserError or PickOrderLineError or PickOrderLineAppearsMoreThanOnce</ErrorType>
</ProcessPickOrderError>
<ProcessPickOrderError>
<Message>string</Message>
<ErrorType>LogonError or UnknownError or MissingPickOrderHeader or MissingPickOrderSpecifications or NoOrderLineIdentificationSpecified or MissingOrderLineIdentification or MissingArticleItemIdentification or PickOrderTypeError or PickOrderUserError or PickOrderLineError or PickOrderLineAppearsMoreThanOnce</ErrorType>
</ProcessPickOrderError>
</ProcessPickOrderErrors>
</ProcessPickOrderResult>
</ProcessPickOrderResponse>
</soap:Body>
</soap:Envelope>
Response specification
ProcessPickOrderResponse |
ProcessPickOrderResult |
ProcessPickOrderResult |
|
ProcessPickOrderResult |
PickOrderId |
int |
Ongoing WMS internal id for the pick order. |
Success |
boolean |
If operation was successful or not. |
ProcessPickOrderErrors |
ProcessPickOrderError[] |
A list of errors which have occured. |
ProcessPickOrderError |
Message |
string |
Error message. |
ErrorType |
enum |
An element of type ProcessPickOrderErrorType. |