com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Getting the Non-Compliant Device Count
Description | Get the number of devices that have not complied to a given policy over the total number of devices registered with WSO2 EMM. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Resource Path | /dashboard/feature-non-compliant-device-count-over-total | ||||||||||||
URL |
| ||||||||||||
HTTP Method | GET | ||||||||||||
Request/Response Format | application/json | ||||||||||||
cURL command | curl -X GET -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-device-count-over-total -d "non-compliant-feature-code=<FEATURE_CODE>"
Example: curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer c148a833a9c3d30bb5197788eaad5541" -k -v https://localhost:9443/mdm-admin/dashboard/feature-non-compliant-device-count-over-total?non-compliant-feature-code=WIFI" | ||||||||||||
 Sample output | > GET /mdm-admin/dashboard/feature-non-compliant-device-count-over-total?non-compliant-feature-code=WIFI_TEST HTTP/1.1 > User-Agent: curl/7.38.0 > Host: localhost:9443 > Accept: */* > Content-Type: application/json > Authorization: Bearer d9808217e974096233cb59eb931daa91 > < HTTP/1.1 200 OK < Cache-Control: private < Expires: Thu, 01 Jan 1970 05:30:00 IST < Date: Mon, 09 May 2016 12:51:25 GMT < Content-Type: application/json < Content-Length: 230 * Server WSO2 Carbon Server is not blacklisted < Server: WSO2 Carbon Server < * Connection #0 to host localhost left intact [{"context":"Feature-non-compliant-device-count-over-total","data":[{"group":"feature-non-compliant","displayNameForGroup":"Feature-non-compliant","deviceCount":2},{"group":"total","displayNameForGroup":"Total","deviceCount":5}]}] | ||||||||||||
Sample JSON Output Definition | [ { "context":"Feature-non-compliant-device-count-over-total", "data":[ { "group":"feature-non-compliant-and-filtered", "displayNameForGroup":"Feature-non-compliant-and-filtered", "deviceCount":2 }, { "group":"total", "displayNameForGroup":"Total", "deviceCount":5 } ] } ]
|
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.