---
title: s_client_login
url: 'https://gidas.saver.lt/api/s_client_login'
markdown: 'https://gidas.saver.lt/api/s_client_login.md'
date: '2020-05-17'
description: 'Last update 2020-05-16 This method can be used for getting self-service or other service client authentication. All client logins are managed in SAVER self-service module. All parameters are expected via HTTP POST. Mandatory parameters Name Description session_id Session id login RIVILE …'
taxonomy:
  category:
    - docs
---

[](#)  [ Pradžia ](https://gidas.saver.lt/)     [ API ](https://gidas.saver.lt/api)      s\_client\_login    

# s\_client\_login

Last update 2020-05-16

This method can be used for getting self-service or other service client authentication. All client logins are managed in SAVER self-service module. All parameters are expected via HTTP POST.

#### Mandatory parameters

| Name | Description |
|---|---|
| **session\_id** | Session id |
| **login** | RIVILE username |
| **pass** | RIVILE password hashed in **MD5** |
| **sLogin** | Self service - login |
| **sPass** | Self service - pass hashed in **MD5** |
| **sForgot** | Password reminder **0-1** |
| **sEmail** | E-mail for password reminder |

#### Web service returns

| Name | Description | Notes |
|---|---|---|
| **status** | Web service status |  |
| **description** | Status description |  |
| **login** | RIVILE username |  |
| **sLogin** | Self service login |  |
| **sName** | Self service user Name |  |
| **sSureName** | Self service user Surname |  |
| **sEmail** | Self service user email |  |
| **sLang** | Self service language |  |
| **clientCode** | Client code |  |
| **supplierCode** | Supplier client code |  |
| **sBlocked** | Self service user is blocked |  |
| **sBlockedUntil** | Self service user is blocked until |  |

#### Web service status list

| Name | Description |
|---|---|
| **00** | Ok |
| **01** | No parameter **session\_id** |
| **02** | No parameter **login** |
| **03** | No parameter **pass** |
| **04** | Login failed |
| **05** | No e-mail adress (Password reminder mode) |
| **06** | E-mail adress not found (Password reminder mode) |
| **07** | Password reminder sent |
| **08** | User is blocked |
| **09** | Wrong parameter lang , values LT,EN,RU only. |
| **10** | No username |
| **11** | Login failed |
| **12** | No password |
| **98** | DB connect error |
| **99** | Web service POST parameters error |

 [ ](https://gidas.saver.lt/api/s_client_edit) [](https://gidas.saver.lt/api/s_contract_edit)

---

## Navigation

- Parent: [API](https://gidas.saver.lt/api.md)
- Previous: [s_client_edit](https://gidas.saver.lt/api/s_client_edit.md)
- Next: [s_contract_edit](https://gidas.saver.lt/api/s_contract_edit.md)
