DevicesApi
Method | HTTP request | Description |
---|---|---|
GetActiveSyncDevicesUsingPOST | POST /api/web/v1/users/{userid}/activesyncdevices | Get ActiveSync devices from Office 365. |
GetCachedActiveSyncDevicesUsingGET | GET /api/web/v1/users/{userid}/activesyncdevices | Get ActiveSync devices. |
RemoveActiveSyncDeviceUsingDELETE | DELETE /api/web/v1/users/{userid}/activesyncdevices/{deviceid} | Remove ActiveSync devices. |
UpdateActiveSyncDevicesUsingPUT | PUT /api/web/v1/users/{userid}/activesyncdevices | Update ActiveSync devices. |
GetActiveSyncDevicesUsingPOST
List<SdpResponse> GetActiveSyncDevicesUsingPOST (string userid)
Get ActiveSync devices from Office 365.
Get ActiveSync devices. Caller requires the ACTIVESYNC:VIEW permission.
Using the GetActiveSyncDevicesUsingPOSTWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | string | The UUID of the user. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
GetCachedActiveSyncDevicesUsingGET
List<SdpResponse> GetCachedActiveSyncDevicesUsingGET (string userid)
Get ActiveSync devices.
Get ActiveSync devices. Caller requires the ACTIVESYNC:VIEW permission.
Example
Using the GetCachedActiveSyncDevicesUsingGETWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | string | The UUID of the user. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
RemoveActiveSyncDeviceUsingDELETE
List<SdpResponse> RemoveActiveSyncDeviceUsingDELETE (string userid, string deviceid)
Remove ActiveSync devices.
Remove ActiveSync devices. Caller requires the ACTIVESYNC:REMOVE permission.
Example
Using the RemoveActiveSyncDeviceUsingDELETEWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | string | The UUID of the user. | |
deviceid | string | Id of the device that needs to be removed. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
UpdateActiveSyncDevicesUsingPUT
List<SdpResponse> UpdateActiveSyncDevicesUsingPUT (string userid, SdpParms sdpParms)
Update ActiveSync devices.
Update ActiveSync devices. Caller requires the ACTIVESYNC:EDIT permission.
Example
Using the UpdateActiveSyncDevicesUsingPUTWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | string | The UUID of the user. | |
sdpParms | SdpParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |