This service provides the information about a device enrolled with EMM.
https://emmserver.com/emm/iemm/services/deviceinfo
POST
This is a mandatory parameter to authenticate a user.
This is a mandatory parameter and allowed value is application/x-www-form-urlencoded.
This is an optional parameter, whose default value is application/xml
, and possible values are application/xml
or application/json
This is a mandatory parameter. The value is output header parameter Set-Cookie value of the previous service.
1000 = success
1003 = Error - Missing Device ID: Device ID should not be empty
2001 = Error: Authenticated Token is missing
2002 = Error: Device ID should not be empty
2003 = Session time out
3001 = Unexpected error occurred
3003 = Error - Improper Service Call: Please check URL and provide correct service call
3004 = IEmm Services are not available
3005 = Error - Device is not enrolled with EMM
Refer responseCode.
Encrypted token contains user information.
This always comes as “ENROLLED”
Device from where this service is called. The possible values are IPHONE and so on.
This is used to maintain sessions and passed in consecutive services as value of input header parameter Cookie
Input:
deviceid=fbf43e35aeb2fb9eaedf0dddf26250d4
Output:
{ "description":"success", "responseCode":1000, "deviceStatus":"ENROLLED", "devicePlatform":"IPHONE" }
Copyright © 2018 Kony, Inc. All rights reserved. |