updated manual authored by Martin Straka's avatar Martin Straka
......@@ -54,6 +54,7 @@ The following options (services) are related to actions that should be performed
* **--get-user-info** - Get information about user and its role and privileges.
* **--get-owner-info** - Get information about owner and its databox.
* **--check-attachment** - Get list of messages where attachment missing (local database only).
* **--search-databox** - Find a databox via several parameters.
#### *string_of_parameters* has format:
......@@ -206,3 +207,21 @@ Example:
```
datovka --login "username='xxxxxx'" --check-attachment
```
**--search-databox**
* *dbID* - id of databox. Must contain string with length 7. [Optional]
* *ic* - identification number of firm/company. Must contain string of numbers with length 8. [Optional]
* *firmName* - name of firm/company. Maximal length is 50 chars. [Optional]
* *pnFirstName* - first name of databox owner. Maximal length is 50 chars. [Optional]
* *pnLastName* - last name of databox owner. Maximal length is 50 chars. [Optional]
Return
* [status] - 0 is success, 1 error.
* databoxInfo - print to terminal (stdout) information about databox.
* if an error then error code and its description are writing into stderr.
Example:
```
datovka --login "username='xxxxxx'" --search-databox "ic='12345678'"
```