No commit message authored by Martin Straka's avatar Martin Straka
No commit message
......@@ -122,32 +122,32 @@ Example:
datovka --login "username='xxxxxx',method='user',type='std',password='yyyyyyyy'" --send-msg "dbIDRecipient='zzzzzzz',dmAnnotation='Example',dmPersonalDelivery='1',dmAllowSubstDelivery='1',dmOVM='0',dmPublishOwnID='0',dmAttachment='C:\temp\info.doc;C:\temp\food.doc'"
```
**--download-msg**
**--get-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]
* *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). [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]
Return [msgStruct, status]
Example:
```
datovka --login "username='xxxxxx',method='user',type='std',password='yyyyyyyy'" --download-msg "dmID='123456789',dmType='received',zfoFile='C:\temp\message.zfo"
datovka --login "username='xxxxxx',method='user',type='std',password='yyyyyyyy'" --get-msg "dmID='123456789',dmType='received',zfoFile='C:\temp\message.zfo"
```
**--download-delivery-info**
**--get-delivery-info**
* *dmID* - Message ID. Maximal length 20 characters. [Mandatory]
* *zfoFile* - Full path where delivery info ZFO file will be saved. If not specified, delivery info will be stored only to database. [Optional]
* *zfoFile* - Full path where message ZFO file will be saved. If not specified, message will be stored only to database. [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). [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]
Return [deliveryStruct, status]
Example:
```
datovka --login "username='xxxxxx',method='user',type='std',password='yyyyyyyy'" --download-delivery-info "dmID='123456789',zfoFile='C:\temp\dinfo.zfo"
datovka --login "username='xxxxxx',method='user',type='std',password='yyyyyyyy'" --get-delivery-info "dmID='123456789',zfoFile='C:\temp\dinfo.zfo"
```
**--get-user-info**
......
......