The Login feature is designed to provide the token and other information to the user of the system. Follow the mentioned URL to access the Login screen-
https://www.enterice.com/ICEAPI/api/Authenticate/Login
•Allowed for-
Every user
•Json Formats-
1. Consider the following code snippet for Web Service Use–
Login
{
“Organisation ID”: 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.”}