Kony Management User Guide: Intelligent EMM (IEMM) > Querying Policy Applied Status

Querying Policy Applied Status

This is a query base service. On the basis of query parameter, the system responds to the user device with the status of a policy.

URL

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

Type

POST

Input

Input Parameters

deviceid

This is a mandatory parameter to authenticate a user.

query

This is a mandatory parameter, and possible values are:

requestid

When a policy is applied, the system returns a requestID. This requestID needs to be passed to get the status of a policy applied on device or not.

Input Headers

Content-Type

This is a mandatory parameter and its 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 output header parameter Set-Cookie value of the previous service.

Output

Output Parameters

responseCode

description

Please refer responseCode.

policystatus

A Boolean value to returns according to policy applied on device.

Output Headers

Set-Cookie

This helps in maintaining session and passed in consecutive services as value of input header parameter Cookie

Examples

Input:

query=policystatus&requestId=1001

Output:

{
   "description":"success",
   "responseCode":1000,
   " isAcknowledged":true
}
Copyright © 2018 Kony, Inc. All rights reserved.