Ongoing Warehouse Developer

HandleLocationEvent

Handles a location event. Exactly what happens when this function is called depends on how the system has been set up. By default, the only thing that happens is that call is logged.

Tags: HandleLocationEvent, Operation, HandleLocationEventResponse, HandleLocationEventResult

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

<?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>
    <HandleLocationEvent xmlns="http://ongoingsystems.se/Automation">
      <UserName>string</UserName>
      <Password>string</Password>
      <Operation>
        <Location>string</Location>
        <OperationType>string</OperationType>
      </Operation>
    </HandleLocationEvent>
  </soap:Body>
</soap:Envelope>
+

Request specification

HandleLocationEvent
UserName str(50) Req. Your username.
Password str(50) Req. Your password.
Operation object Req. An Operation object
Operation
Location str(50) Req. The name of the location which you wish to mark as having been handled
OperationType str Req The type of operation

Response XML

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

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

Response specification

HandleLocationEventResponse
HandleLocationEventResult obj A HandleLocationEventResult object
HandleLocationEventResult
Message str If the call failed, this field contains the error message
Success bool True if the call succeeded, false otherwise