CreateMovementOrders

This function is used to create movement orders.

Tags: CreateMovementOrders, CreateMovementOrdersOperation, ArticleItem_CreateMovementOrder, CreateMovementOrdersResponse, CreateMovementOrdersResult

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

<?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>
    <CreateMovementOrders xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <Context>string</Context>
        <ArticleItems>
          <ArticleItem_CreateMovementOrder>
            <ArticleItemId>int</ArticleItemId>
          </ArticleItem_CreateMovementOrder>
          <ArticleItem_CreateMovementOrder>
            <ArticleItemId>int</ArticleItemId>
          </ArticleItem_CreateMovementOrder>
        </ArticleItems>
      </Operation>
    </CreateMovementOrders>
  </soap:Body>
</soap:Envelope>

Request specification

CreateMovementOrders
UserName string(50) Req. Your username
Password string(50) Req. Your password
Operation CreateMovementOrdersOperation Req. Specifies the article items you want to create movement orders for.
CreateMovementOrdersOperation
Context string Used to provide Ongoing WMS with additional information.
ArticleItems ArticleItem_CreateMovementOrder[] List of article item IDs to create movement orders for.
ArticleItem_CreateMovementOrder
ArticleItemId int

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>
    <CreateMovementOrdersResponse xmlns="http://ongoingsystems.se/Automation">
      <CreateMovementOrdersResult>
        <Success>boolean</Success>
        <Message>string</Message>
      </CreateMovementOrdersResult>
    </CreateMovementOrdersResponse>
  </soap:Body>
</soap:Envelope>

Response specification

CreateMovementOrdersResponse
CreateMovementOrdersResult CreateMovementOrdersResult
CreateMovementOrdersResult
Success boolean Indicates if the call was successful.
Message string Message.