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, HandleLocationEventOperation, 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 |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
Operation |
HandleLocationEventOperation |
Req. |
The operation object |
HandleLocationEventOperation |
Location |
string(50) |
Req. |
The name of the location which you wish to mark as having been handled |
OperationType |
string |
|
The type of operation |
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>
<HandleLocationEventResponse xmlns="http://ongoingsystems.se/Automation">
<HandleLocationEventResult>
<Success>boolean</Success>
<Message>string</Message>
</HandleLocationEventResult>
</HandleLocationEventResponse>
</soap:Body>
</soap:Envelope>
Response specification
HandleLocationEventResponse |
HandleLocationEventResult |
HandleLocationEventResult |
|
HandleLocationEventResult |
Success |
boolean |
True if the call succeeded, false otherwise |
Message |
string |
If the call failed, this field contains the error message |