Overview | Service | Command |
Update device status
Authorization token required | true |
Admin Authorization token required | true |
<UpdateDeviceStatusRequest> ## UpdateDeviceStatusRequest
<account by="{acct-selector-by} (adminName|appAdminName|id|foreignPrincipal|name|krb5Principal)">{key}</account> ## AccountSelector
<device [id="{id}"] [status="{status}"] /> ## IdStatus
</UpdateDeviceStatusRequest>
The following table describes elements and attributes you can define within a
<UpdateDeviceStatusRequest>
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 | Required (only 1) | Information on new device status |
/device@id | Optional (0 or 1) | Type:String ID |
/device@status | Optional (0 or 1) | Type:String Status |
<UpdateDeviceStatusResponse> ## UpdateDeviceStatusResponse
(<device [id="{device-id}"] [name="{device-name}"] [status="{status-enabled|disabled|locked|wiped}"]
[created="{created-timestamp} (Long)"] [accessed="{accessed-timestamp} (Long)"] /> ## DeviceInfo)*
</UpdateDeviceStatusResponse>
The following table describes elements and attributes you can define within a
<UpdateDeviceStatusResponse>
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 |