RemovePickOrder

This function cancels a pick order, which means that:

  1. All orders are removed from the pick order.
  2. The pick order is marked as executed.

Tags: RemovePickOrder, RemovePickOrderOperation, RemovePickOrderResponse, RemovePickOrderResult, RemovePickOrderError

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

<?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>
    <RemovePickOrder xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <PickOrderId>int</PickOrderId>
      </Operation>
    </RemovePickOrder>
  </soap:Body>
</soap:Envelope>

Request specification

RemovePickOrder
UserName string(50) Req. Your username
Password string(50) Req. Your password
Operation RemovePickOrderOperation Req. The operation object
RemovePickOrderOperation
PickOrderId int Req. The pick order ID of the pick order to cancel.

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>
    <RemovePickOrderResponse xmlns="http://ongoingsystems.se/Automation">
      <RemovePickOrderResult>
        <Errors>
          <RemovePickOrderError>
            <Message>string</Message>
            <ErrorType>UnknownError or LogonError or GoodsOwnerIsDeleted or PickOrderIdDoesNotExist</ErrorType>
          </RemovePickOrderError>
          <RemovePickOrderError>
            <Message>string</Message>
            <ErrorType>UnknownError or LogonError or GoodsOwnerIsDeleted or PickOrderIdDoesNotExist</ErrorType>
          </RemovePickOrderError>
        </Errors>
        <Success>boolean</Success>
      </RemovePickOrderResult>
    </RemovePickOrderResponse>
  </soap:Body>
</soap:Envelope>

Response specification

RemovePickOrderResponse
RemovePickOrderResult RemovePickOrderResult
RemovePickOrderResult
Errors RemovePickOrderError[] A list of RemovePickOrderError objects
Success boolean True if successful, false otherwise.
RemovePickOrderError
Message string Message explaining the error.
ErrorType enum An element of type RemovePickOrderErrorType.