ezd_addin_get_attachment_for_print
Retrieves a document attachment authorized for printing from the EZD PUW system via Add-in, enabling print output for a specified document using a print token.
Instructions
Pobierz zalacznik do druku przez Addin w systemie EZD PUW.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"IdDokumentu": "<IdDokumentu>",
"PrintToken": "<PrintToken>"
},
"name": "ezd_addin_get_attachment_for_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| CID | No | Correlation ID — identyfikator procesowości (auto-generated if omitted) | |
| PrintToken | Yes | Token autoryzacji druku | |
| IdDokumentu | Yes | Identyfikator dokumentu (long) | |
| IdPracownikaWlasciciela | No | ID pracownika właściciela (defaults to EZD_WORKER_ID env) | |
| IdStanowiskaWlasciciela | No | ID stanowiska właściciela (defaults to EZD_POSITION_ID env) |