0

Hi, I’ve tried to use GetVirtualMachineAuditLog to get a full event lists of a VM without success:

Request params:

‘itemId’ => int 6272
‘startPeriod’ => string ‘2019-05-29T17:43:21+01:00’ (length=25)
‘endPeriod’ => string ‘2019-06-11T17:43:21+01:00’ (length=25)
‘severity’ => int -1
‘startRow’ => int 1
‘maximumRows’ => int 100

Response:

object(stdClass)[464]
public ‘GetVirtualMachineAuditLogResult’ =>
object(stdClass)[477]

This is the xml sent

<?xml version=”1.0″ encoding=”UTF-8″?>
<env:Envelope xmlns:env=”http://www.w3.org/2003/05/soap-envelope” xmlns:ns1=”http://smbsaas/solidcp/enterpriseserver”><env:Body><ns1:GetVirtualMachineAuditLog><ns1:itemId>6272</ns1:itemId><ns1:startPeriod>2019-05-29T17:45:06+01:00</ns1:startPeriod><ns1:endPeriod>2019-06-11T17:45:06+01:00</ns1:endPeriod><ns1:severity>-1</ns1:severity><ns1:startRow>1</ns1:startRow><ns1:maximumRows>100</ns1:maximumRows></ns1:GetVirtualMachineAuditLog></env:Body></env:Envelope>

Please double check and let me know if I’m doing anything wrong 🙁

Answered question