GET api/v1/Pdf/{id}?token={token}&documentNumber={documentNumber}&trxTypeId={trxTypeId}&lan={lan}
Stream the PDF file of the given document.
If the document is a Computerized Document then the method returns a digitally-signed "Original" PDF document.
If the document was printed to paper then the method returns a "Copy" non-signed PDF document.
Request Information
URI Parameters
Name | Description | Type/Additional information |
---|---|---|
token |
The access Token for the account/business |
string |
documentNumber |
The document's number. E.g.: "02/200130" |
string |
trxTypeId |
Optional. The document TrxTypeId.
|
|
id |
The document's id. The id is the same id you supplied to CaspitWeb when creating a document.
|
string |
lan |
The langauage. 0 = Hebrew, 1 = English. Default is Hebrew. |
Default value is Hebrew |
Body Parameters
None.
Response Description
A PDF document (media type application/pdf)