|
|
**--get-msg**
|
|
|
**--export-msg**
|
|
|
* *dmID* - Message ID. Maximal length 20 characters. [Mandatory]
|
|
|
* *dmType* - Type of messages. Values: {sent,received}, default is received. [Mandatory]
|
|
|
* *zfoFile* - Full path where message ZFO file will be saved. If not specified, message will be stored only to database. [Optional]
|
|
|
* *attachmentDir* - Full path to folder where attachment files will be saved. If not specified, message will be stored only to database without files saving. Must be terminated by \ or /. [Optional]
|
|
|
* *download* - Values: {yes,no,ondemand}. Specifies whether to download the message from ISDS server (no = never download, use from database if present; yes = always download even if does already exist in database; ondemand = download only if doesn't exist in database). Default is ondemand. [Optional]
|
|
|
* *markDownload* - Set message as locally read. Values: {yes,no}, default is no. [Optional]
|
|
|
* *exportPath* - Path to existing folder for export. [Mandatory]
|
|
|
* *exportMsgType* - Export message or pdf message envelope. Values: {no,zfo,pdf,all}, default is zfo. [Optional]
|
|
|
* *exportDelInfo* - Export delivery info. Values: {no,zfo,pdf,all}, default is zfo. [Optional]
|
|
|
* *msgName* - File name of zfo message/pdf envelope without extension defined by user. Default is DZ_ID message id. [Optional]
|
|
|
* *infoName* - File name of delivery info zfo/pdf without extension defined by user. Default is DD_ID message id. [Optional]
|
|
|
|
|
|
Return
|
|
|
* [status] - 0 is success, 1 error.
|
... | ... | @@ -16,5 +16,5 @@ Return |
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx'" --get-msg "dmID='123456789',dmType='received',zfoFile='C:\temp\message.zfo',attachmentDir='C:\temp\save\'"
|
|
|
datovka --login "username='xxxxxx'" --export-msg "dmID='123456789',exportPath='C:\temp\',exportMsgType='zfo',exportDelInfo='all'"
|
|
|
``` |