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

User Group Information

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.

URL

https://mdmdev.konylabs.net/emm/iemm/services/usergroup

Type

POST

Input

Input Parameters

deviceid

This is a mandatory parameter to authenticate a user device to get group details.

Input Headers

Content-Type

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

Accept

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

Cookie

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

Output

Output Parameters

responseCode

Description

Please refer responseCode.

Output Headers

Set-Cookie

Set-cookie helps to maintain a session passed in consecutive services as a value of the input header parameter cookie

Examples

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.