The Login feature is designed to provide the output token and other information to the user. The Service URL of this feature is given by the following link-
https://www.enterice.com/ICEAPI/api/Authenticate/Login
•Allowed for–
Admin
•Json Formats–
1. Code snippet for Web Service Use–
Login
{
“OrganisationID”: 59,
“UserName”: “Alistair@etechtexas.com“,
“Password”: “Password”
}
2. Description for Request Parameters–
| S.No | Name | Type | Description |
| 1 | OrganisationID | Int | ID of Organisation |
| 2 | UserName | String | Username for Login |
| 3 | Password | String | Password for Login |
3. Response Example–
Success:
{
“Message”: “Success”,
“Token”:”eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFkbWluQGljZS5jb20iLCJleHAiOjE0ODE3MzA0NTB9.DIowmajDWZ8AYq5PF863IwerxkhdcwUhIKMUJOMPX50″,
“OrganisationID”: 59,
“OrganisationName”: “FutureView Technologies”,
“UserID”: 738,
“UserName”: “Alistair@etechtexas.com”,
“UserFirstName”: “Alistair”,
“UserFullName”: “AlistairSamuels”,
“Permission”: 1,
“Offset”: -360
}
Fail:
{ “Message”:”The request is invalid.”}