MovementArticleItemHandled

Mark a single movement article item as having been handled. Note that you can only mark a particular id as having been handled at most one time.

If you want to do this to several movement article items at the same time, consider using MovementArticleItemsHandled.

Tags: MovementArticleItemHandled, MovementArticleItemHandledResponse, MovementArticleItemHandledResult, MovementArticleItemHandledError

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

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

Request specification

MovementArticleItemHandled
UserName string(50) Req. Your username
Password string(50) Req. Your password
MovementArticleItemId int Req. The movement article item id which you wish to mark as handled

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>
    <MovementArticleItemHandledResponse xmlns="http://ongoingsystems.se/Automation">
      <MovementArticleItemHandledResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <Errors>
          <MovementArticleItemHandledError>
            <Message>string</Message>
            <ErrorType>MovementArticleItemIdNotFound or MovementArticleItemIdAlreadyHandled</ErrorType>
          </MovementArticleItemHandledError>
          <MovementArticleItemHandledError>
            <Message>string</Message>
            <ErrorType>MovementArticleItemIdNotFound or MovementArticleItemIdAlreadyHandled</ErrorType>
          </MovementArticleItemHandledError>
        </Errors>
      </MovementArticleItemHandledResult>
    </MovementArticleItemHandledResponse>
  </soap:Body>
</soap:Envelope>

Response specification

MovementArticleItemHandledResponse
MovementArticleItemHandledResult MovementArticleItemHandledResult
MovementArticleItemHandledResult
Success boolean True if the call succeeded, false otherwise
Message string If the call failed, this field contains the error message
Errors MovementArticleItemHandledError[]
MovementArticleItemHandledError
Message string
ErrorType enum An element of type MovementArticleItemHandledErrorType.