Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
GetDevices SOAP Command

Get devices

Authorization token required true
Admin Authorization token required true

GetDevicesRequest

    <GetDevicesRequest> ## GetDevicesRequest
        <account by="{acct-selector-by} (adminName|appAdminName|id|foreignPrincipal|name|krb5Principal)">{key}</account> ## AccountSelector
    </GetDevicesRequest>

The following table describes elements and attributes you can define within a <GetDevicesRequest> element:

XPath Required / Optional Description
/account Required (only 1) Type:{key}
Account
Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by}
/account@by Required (only 1) Type:adminName|appAdminName|id|foreignPrincipal|name|krb5Principal
Select the meaning of {acct-selector-key}

GetDevicesResponse

    <GetDevicesResponse> ## GetDevicesResponse
        (<device [id="{device-id}"] [name="{device-name}"] [status="{status-enabled|disabled|locked|wiped}"]
                     [created="{created-timestamp} (Long)"] [accessed="{accessed-timestamp} (Long)"] /> ## DeviceInfo)*
    </GetDevicesResponse>

The following table describes elements and attributes you can define within a <GetDevicesResponse> element:

XPath Required / Optional Description
/device Optional (0 or more) Information about devices
/device@id Optional (0 or 1) Type:String
Device ID
/device@name Optional (0 or 1) Type:String
Device name
/device@status Optional (0 or 1) Type:String
Status - enabled|disabled|locked|wiped
/device@created Optional (0 or 1) Type:Long
Created timestamp
/device@accessed Optional (0 or 1) Type:Long
Accessed timestamp