... | @@ -54,6 +54,7 @@ The following options (services) are related to actions that should be performed |
... | @@ -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-user-info** - Get information about user and its role and privileges.
|
|
* **--get-owner-info** - Get information about owner and its databox.
|
|
* **--get-owner-info** - Get information about owner and its databox.
|
|
* **--check-attachment** - Get list of messages where attachment missing (local database only).
|
|
* **--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:
|
|
#### *string_of_parameters* has format:
|
|
|
|
|
... | @@ -205,4 +206,22 @@ Example: |
... | @@ -205,4 +206,22 @@ Example: |
|
|
|
|
|
```
|
|
```
|
|
datovka --login "username='xxxxxx'" --check-attachment
|
|
datovka --login "username='xxxxxx'" --check-attachment
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
|
|
|
|
**--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'"
|
|
|
|
``` |