... | ... | @@ -47,13 +47,14 @@ Usage: datovka [ options ] [ zfo-file ] |
|
|
The following options (services) are related to actions that should be performed. "--login <_string_of_parameters_>" option must be present before service declaration.
|
|
|
|
|
|
#### Service Names:
|
|
|
* **--get-msg-list** <_string_of_parameters_> - Download list of received/sent messages.
|
|
|
* **--send-msg** <_string_of_parameters_> - Create and send a new message.
|
|
|
* **--get-msg-list** <_string_of_parameters_> - Download list of received/sent messages from ISDS.
|
|
|
* **--send-msg** <_string_of_parameters_> - Create and send a new message to ISDS.
|
|
|
* **--get-msg** <_string_of_parameters_> - Download from ISDS or get from local database complete message with signature and time stamp MV and export to ZFO file.
|
|
|
* **--get-delivery-info** <_string_of_parameters_> - Download from ISDS or get from local database delivery info of message with signature and time stamp MV and export to ZFO file.
|
|
|
* **--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).
|
|
|
* **--get-msg-ids** - Get list of message IDs (received/sent) from local database (since version 4.9.1).
|
|
|
* **--find-databox** - Find a databox via several parameters.
|
|
|
|
|
|
#### *string_of_parameters* has format:
|
... | ... | @@ -209,6 +210,19 @@ Example: |
|
|
```
|
|
|
datovka --login "username='xxxxxx'" --check-attachment
|
|
|
```
|
|
|
**--get-msg-ids**
|
|
|
* *dmType* - Type of messages. Values: {sent,received,all}, default is received. [Mandatory]
|
|
|
|
|
|
Return
|
|
|
* [status] - 0 is success, 1 error.
|
|
|
* msgIdList - print to terminal (stdout) a list of message IDs separated by white space.
|
|
|
* if an error then error code and its description are writing into stderr.
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx',password='yyyyyyyy'" --get-msg-ids "dmType='received'"
|
|
|
```
|
|
|
|
|
|
**--find-databox**
|
|
|
* *dbType* - type of databox. Values: {OVM,PO,PFO,FO} [Mandatory]
|
... | ... | |