This is a query base service. On the basis of a query parameter, the system responds with the list of groups to the associated user device.
https://mdmdev.konylabs.net/emm/iemm/services/usergroup
POST
This is a mandatory parameter to authenticate a user device to get group details.
This is a mandatory parameter, and the allowed value is application/x-www-form-urlencoded.
This is an optional parameter. The default value is application/xml, and the possible values are application/xml or application/json
This is a mandatory parameter. The value is the 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 timed 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
Please refer responseCode.
Set-cookie helps to maintain a session passed in consecutive services as a value of the input header parameter cookie
Input:
deviceid=358918050081901
Output:
Response
{
"description": "Success",
"responseCode": 1000,
"userGroup":
[
{
"groupName": "tg1",
"domain": null
},
{
"groupName": "tg2",
"domain": null
}
]
}
| Copyright © 2018 Kony, Inc. All rights reserved. |