Getting Non-Compliant Device Details
Description | Get device details of non-compliant devices which do not comply to a given policy. | ||||||
---|---|---|---|---|---|---|---|
Resource Path | /dashboard/feature-non-compliant-devices-with-details | ||||||
URL |
| ||||||
HTTP Method | GET | ||||||
Request/Response Format | application/json | ||||||
cURL command | curl -v -L -G -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/mdm-admin/dashboard/feature-non-compliant-devices-with-details -d “non-compliant-feature-code=<FEATURE_CODE>&pagination-enabled=<TRUE/FALSE>”
Example: curl -v -L -G -H "Content-Type: application/json" -H "Authorization: Bearer c148a833a9c3d30bb5197788eaad5541" -k -v https://localhost:9443/mdm-admin/dashboard/feature-non-compliant-devices-with-details -d “non-compliant-feature-code=WIFI&pagination-enabled=false” | ||||||
Sample output | > GET /mdm-admin/dashboard/feature-non-compliant-devices-with-details?non-compliant-feature-code=WIFI&pagination-enabled=false HTTP/1.1 > User-Agent: curl/7.38.0 > Host: localhost:9443 > Accept: */* > Content-Type: application/json > Authorization: Bearer edd064382fdc1086cdbd1ce2a780b9c6 > < HTTP/1.1 200 OK < Cache-Control: private < Expires: Thu, 01 Jan 1970 05:30:00 IST < Date: Mon, 09 May 2016 16:30:26 GMT < Content-Type: application/json < Content-Length: 241 * Server WSO2 Carbon Server is not blacklisted < Server: WSO2 Carbon Server < * Connection #0 to host localhost left intact [{"context":"Filtered-feature-non-compliant-devices-with-details","data":[{"deviceId":2,"platform":"android","ownershipType":"COPE","connectivityStatus":"ACTIVE"},{"deviceId":4,"platform":"ios","ownershipType":"BYOD","connectivityStatus":"ACTIVE"}]}] | ||||||
Sample JSON Output Definition | [ { "context":"Filtered-feature-non-compliant-devices-with-details", "data":[ { "deviceId":2, "platform":"android", "ownershipType":"COPE", "connectivityStatus":"ACTIVE" }, { "deviceId":4, "platform":"ios", "ownershipType":"BYOD", "connectivityStatus":"ACTIVE" } ] } ]
|