This service is the first service call in series of calling various IEMM services except emminfo service. This service maintains sessions and secret tokens that contain user information.
https://emmserver.com/emm/iemm/services/login
POST
This is a mandatory parameter given by tenant/admin to the particular user.
This is a mandatory parameter given by tenant/admin to the particular user.
This is a mandatory parameter to authenticate the user.
This is a mandatory parameter and allowed value is application/x-www-form-urlencoded.
This is an optional parameter whose default value is “application/xml
”, and the possible values are application/xml or application/json.
Please refer responseCode.
Encrypted token contains user information.
This helps in maintaining session and is passed in consecutive services as value of input header parameter “Cookie”.
Input:
username=admin&password=admin&deviceid= fbf43e35aeb2fb9eaedf0dddf26250d4
Output:
{ "description":"success", "responseCode":1000, "token":"BA47E3769E65732794B4CD4A742DB555E37F167C87A9AE73A27581E0C186039D43800F9C0D8CA8611D0F971A9B3B2B52F9C7D629F59728A8F0F5669091722E9C" }
Copyright © 2018 Kony, Inc. All rights reserved. |