Kony Management User Guide: Intelligent EMM (IEMM) > Device Information

Device Information

This service provides the information about a device enrolled with EMM.

URL

https://emmserver.com/emm/iemm/services/deviceinfo

Type

POST

Input

Input Parameters

deviceid

This is a mandatory parameter to authenticate a user.

Input Headers

Content-Type

This is a mandatory parameter and allowed value is application/x-www-form-urlencoded.

Accept

This is an optional parameter, whose default value is application/xml, and possible values are application/xml or application/json

Cookie

This is a mandatory parameter. The value is output header parameter Set-Cookie value of the previous service.

Output

Output Parameters

responseCode

description

Refer responseCode.

token

Encrypted token contains user information.

deviceStatus

This always comes as “ENROLLED”

devicePlatform

Device from where this service is called. The possible values are IPHONE and so on.

Output Headers

Set-Cookie

This is used to maintain sessions and passed in consecutive services as value of input header parameter Cookie

Examples

Input:

deviceid=fbf43e35aeb2fb9eaedf0dddf26250d4

Output:

{
   "description":"success",
   "responseCode":1000,
   "deviceStatus":"ENROLLED",
   "devicePlatform":"IPHONE"
}
Copyright © 2018 Kony, Inc. All rights reserved.