... | ... | @@ -315,3 +315,72 @@ datovka --login "username='xxxxxx'" --find-databox "dbType='OVM',ic='12345678'" |
|
|
|
|
|
datovka --login "username='xxxxxx'" --find-databox "dbType='FO',pnFirstName='Petr',pnLastName='Novák',adZipCode='61200'"
|
|
|
```
|
|
|
|
|
|
**--export-msg**
|
|
|
* *dmID* - Message ID. Maximal length 20 characters. [Mandatory]
|
|
|
* *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.
|
|
|
* if an error then error code and its description are writing into stderr.
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx'" --export-msg "dmID='123456789',exportPath='C:\temp\',exportMsgType='zfo',exportDelInfo='all'"
|
|
|
```
|
|
|
|
|
|
**--export-msgs**
|
|
|
* *dmType* - Type of messages. Values: {no,sent,received,all}, default is received. [Mandatory]
|
|
|
* *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]
|
|
|
* *fromDate* - Delivery date from. Format: YYYY-MM-DD. [Optional]
|
|
|
* *toDate* - Delivery date to. Format: YYYY-MM-DD. [Optional]
|
|
|
|
|
|
Return
|
|
|
* [status] - 0 is success, 1 error.
|
|
|
* List of exported message ID.
|
|
|
* List of non-exported message ID.
|
|
|
* if an error then error code and its description are writing into stderr.
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx'" --export-msgs "dmType='received',exportPath='C:\temp\',exportMsgType='all',exportDelInfo='all',fromDate='2024-01-01'"
|
|
|
```
|
|
|
|
|
|
**--import-msg**
|
|
|
* *importFile* - Path to existing zfo file for import. [Mandatory]
|
|
|
* *verifyIsds* - Verify zfo file on ISDS before import. Values: {no,yes}, default is no. [Optional]
|
|
|
|
|
|
Return
|
|
|
* [status] - 0 is success, 1 error.
|
|
|
* if an error then error code and its description are writing into stderr.
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx'" --import-msg "importFile='C:\temp\123456.zfo'"
|
|
|
```
|
|
|
|
|
|
**--import-msgs**
|
|
|
* *importDir* - Path to existing folder for immport. [Mandatory]
|
|
|
* *includeSubDirs* - Include subdirs into import. Values: {no,yes}, default is yes. [Optional]
|
|
|
* *verifyIsds* - Verify zfo file on ISDS before import. Values: {no,yes}, default is no. [Optional]
|
|
|
|
|
|
Return
|
|
|
* [status] - 0 is success, 1 error.
|
|
|
* if an error then error code and its description are writing into stderr.
|
|
|
|
|
|
Example:
|
|
|
|
|
|
```
|
|
|
datovka --login "username='xxxxxx',password='yyyyyyyy'" --import-msgs "importDir='C:\temp\',includeSubDirs='yes',verifyIsds='yes'"
|
|
|
``` |