com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Getting the Registration Status of an Android Device
Description | Use this REST API to retrieve the registration status of an Android device. |
---|---|
Resource Path | /{deviceId} |
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-android-agent/enrollment/{deviceId}
Example: Retrieve the registration status of the Android device (device identifier - 867115026844132). curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer 52492cd670773a39251cd8d6185e8516" -k -v https://localhost:9443/mdm-android-agent/enrollment/867115026844132 |
 Sample output | > GET /mdm-android-agent/enrollment/867115026844132 HTTP/1.1 > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8| zlib/1.2.5 > Host: localhost:9443 > Accept: */* > Content-Type: application/json > Authorization: Bearer 52492cd670773a39251cd8d6185e8516 > Content-Length: 1451 > Expect: 100-continue > < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Date: Wed, 16 Mar 2016 00:35:17 GMT < Content-Type: application/json < Content-Length: 75 < Server: WSO2 Carbon Server < {"responseCode":"Accepted","responseMessage":"The device has already been enrolled"} |
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.