Index |
Resume sync with a device or all devices attached to an account if currently suspended. This will cause a policy reset, but will not reset sync data.
Authorization token required | true |
Admin Authorization token required | true |
<ResumeDeviceRequest> ## ResumeDeviceRequest
<account by="{acct-selector-by} (adminName|appAdminName|id|foreignPrincipal|name|krb5Principal)">{key}</account> ## AccountSelector
<device id="{device-id}" /> ## DeviceId
</ResumeDeviceRequest>
The following table describes elements and attributes you can define within a
<ResumeDeviceRequest>
element:
XPath | Required / Optional | Description |
/account | Required (only 1) | Type:{key} Account selector 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} |
/device | Optional (0 or 1) | Device ID |
/device@id | Required (only 1) | Type:String device ID |
<ResumeDeviceResponse> ## ResumeDeviceResponse
(<device id="{device-id}" type="{device-type}" [ua="{user-agent}"] [protocol="{protocol-version}"]
[model="{device-model}"] [imei="{imei}"] [friendly_name="{friendly-name}"] [os="{os}"]
[os_language="{os-language}"] [phone_number="{phone-number}"]> ## DeviceStatusInfo
<provisionable /> ## 0|1
<status>{status} (Byte)</status>
<firstReqReceived>{firstReqReceived} (Integer)</firstReqReceived>
<lastPolicyUpdate>{lastPolicyUpdate} (Integer)</lastPolicyUpdate>
<remoteWipeReqTime>{remoteWipeReqTime} (Integer)</remoteWipeReqTime>
<remoteWipeAckTime>{remoteWipeAckTime} (Integer)</remoteWipeAckTime>
<recoveryPassword>{recoveryPassword} (String)</recoveryPassword>
<lastUsedDate>{lastUsedDate} (String)</lastUsedDate>
</device>)*
</ResumeDeviceResponse>
The following table describes elements and attributes you can define within a
<ResumeDeviceResponse>
element:
XPath | Required / Optional | Description | ||||||||||
/device | Optional (0 or more) | Information about device status | ||||||||||
/device@id | Required (only 1) | Type:String device ID |
||||||||||
/device@type | Required (only 1) | Type:String Device type |
||||||||||
/device@ua | Optional (0 or 1) | Type:String User agent |
||||||||||
/device@protocol | Optional (0 or 1) | Type:String Protocol version |
||||||||||
/device@model | Optional (0 or 1) | Type:String Device model |
||||||||||
/device@imei | Optional (0 or 1) | Type:String IMEI (International Mobile Equipment Identity) |
||||||||||
/device@friendly_name | Optional (0 or 1) | Type:String Friendly name of the device |
||||||||||
/device@os | Optional (0 or 1) | Type:String Device running OS (Operating System; e.g. android, ios etc.) |
||||||||||
/device@os_language | Optional (0 or 1) | Type:String OS language |
||||||||||
/device@phone_number | Optional (0 or 1) | Type:String Phone number |
||||||||||
/device/provisionable | Required (only 1) | Flag whether device is provisionable or not. | ||||||||||
/device/status | Required (only 1) | Type:{status} (Byte) Device status
|
||||||||||
/device/firstReqReceived | Required (only 1) | Type:{firstReqReceived} (Integer) When this device first registered with the server |
||||||||||
/device/lastPolicyUpdate | Optional (0 or 1) | Type:{lastPolicyUpdate} (Integer) When policy was last updated on this device |
||||||||||
/device/remoteWipeReqTime | Optional (0 or 1) | Type:{remoteWipeReqTime} (Integer) Time (seconds since epoch) when remote wipe was initiated |
||||||||||
/device/remoteWipeAckTime | Optional (0 or 1) | Type:{remoteWipeAckTime} (Integer) Time (seconds since epoch) when device confirmed the remote wipe |
||||||||||
/device/recoveryPassword | Optional (0 or 1) | Type:{recoveryPassword} (String) Recovery password |
||||||||||
/device/lastUsedDate | Optional (0 or 1) | Type:{lastUsedDate} (String) Date when the device was last used (the date is stored in server's time zone) |