GetPDF
Description
The GetPDF() method is a way to get the PDF file used for printing the letter as a binary file.
Formal Definition
https://api.postalmethods.com/PostalWS.asmx?op=GetPDF
Input
| Property | Type | Comments |
|---|---|---|
| Username | String | As provided during registration |
| Password | String | As provided during registration |
| ID | int | Matches the ID provided as the response to the original Web Service request. |
Output: GetPDFResponse
Structure: GetPDFResult
| Element | Type | Comments |
|---|---|---|
| ResultCode | int | ResultCode for the GetPDF request. A zero value indicates success, while a negative value indicates failure. See list of Web Service Result Codes |
| FileData | base64Binary | PDF document represented as binary data (see Appendix B) |
