GetPDF
Description
The GetPDF() method is a way to get the PDF file used for printing the letter or postcard as a binary file.
Formal Definition
https://api.postalmethods.com/2009-02-26/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. See list of Web Service Result Codes |
| FileData | base64Binary | PDF document represented as binary data |

