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.
https://emmserver.com/emm/iemm/services/policy
POST
This is a mandatory parameter to authenticate a user.
This is a mandatory parameter, and possible values are:
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.
This is a mandatory parameter and its 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/xm
l 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 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.
A Boolean value to returns according to policy applied on device.
This helps in maintaining session and passed in consecutive services as value of input header parameter Cookie
Input:
query=policystatus&requestId=1001
Output:
{ "description":"success", "responseCode":1000, " isAcknowledged":true }
Copyright © 2018 Kony, Inc. All rights reserved. |