---
title: s_client_view
url: 'https://gidas.saver.lt/api/s_client_view'
markdown: 'https://gidas.saver.lt/api/s_client_view.md'
date: '2020-04-05'
description: 'Last update 2020-04-05 This method can be used for viewing of Saver clients. All parameters are expected via HTTP POST. Mandatory parameters Name Description session_id Session id login RIVILE username pass RIVILE password hashed in MD5 clientCode Client code Web service returns …'
taxonomy:
  category:
    - docs
---

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

# s\_client\_view

Last update 2020-04-05

This method can be used for viewing of Saver clients. All parameters are expected via HTTP POST.

#### Mandatory parameters

| Name | Description |
|---|---|
| **session\_id** | Session id |
| **login** | RIVILE username |
| **pass** | RIVILE password hashed in **MD5** |
| **clientCode** | Client code |

#### Web service returns

| Name | Description | Notes |
|---|---|---|
| **status** | Web service status |  |
| **description** | Status description |  |
| **login** | RIVILE username |  |
| **clientName** | Client name | n08\_pav |
| **clientCompanyCode** | Client company code | n08\_im\_kodas |
| **clientVatCode** | Client VAT code. | n08\_pvm\_kodas |
| **clientAdress** | Client adress | n08\_adr |
| **clientPostCode** | Post Code of the client | n08\_pastas |
| **clientSiteCode** | There is addiotional adress list that can be used to fulfill client adresses | n08\_kodas\_vs |
| **clientSiteDescirption** | Client site full description | n09\_pav |
| **clientShortName** | Short name for the client | n08\_rezervas |
| **clientRepresentative** | Client sales representative | n08\_atstovas |
| **clientEmail** | Client email adress | n08\_e\_mail |
| **clientPhone** | Client phone | n08\_tel |
| **clientMobilePhone** | Client mobile phone | n08\_mob\_tel |
| **clientGroup** | Client group code | n08\_kodas\_gs |
| **clientGroupDescription** | Client group full description | n19\_pav |
| **clientNotes** | Notes | z08\_s\_pastabos |
| **clientWebLink** | Web link | n08\_c\_nuoroda |
| **clientDescription** | Description | z08\_aprasymas |
| **clientRating** | Rating | z08\_rating |
| **kodas\_rs** | client assigned to user | n08\_kodas\_ms\_p |
| **clientEmployees** | Number fo client employees | z08\_darb |
| **clientTurnover** | Total turnover of the client (not only from us) | z08\_apyvarta |
| **clientDaysActivity** | Number of days before client gets inactive status | z08\_active |
| **clientSales** | Number of days for sales calculation | z08\_sales |
| **clientPayDueSeller** | Pay due if client | n08\_kodas\_ts\_p |
| **clientPayDueSupplier** | Pay due if supplier | n08\_kodas\_ts\_t |
| **clientLogisticCode1** | Logistic code 1 | n08\_kodas\_ls\_1 |
| **clientLogisticCode2** | Logistic code 2 | n08\_kodas\_ls\_2 |
| **clientLogisticCode3** | Logistic code 3 | n08\_kodas\_ls\_3 |
| **clientLogisticCode4** | Logistic code 4 | n08\_kodas\_ls\_4 |
| **clientTaxCodeSeller** | Tax code if client | n08\_kodas\_xs\_p |
| **clientTaxCodeSupplier** | Tax code if supplier | n08\_kodas\_xs\_t |
| **clientAccountsRelation** | n08\_kodas\_ds |
| **clientTags** | Client tags list | z08\_tag |

#### 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 parameter **clientCode** |
| **06** | Client not found |
| **98** | DB connect error |
| **99** | Web service POST parameters error |

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

---

## Navigation

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