GetLetterDetails

Description

The GetLetterDetails() method is a way to get a detailed report regarding a letter.

Formal Definition

https://api.postalmethods.com/PostalWS.asmx?op=GetLetterDetails

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: GetLetterDetailsResponse

Structure: GetLetterDetailsResult

Element Type Comments
ResultCode int Result code for this Web Service request. Possible result codes appear in the Web Service Status Codes list LINK
ID int Matches the ID requested in this Web Service request
Price Decimal Total price, in US Dollars, of the letter.
NumOfSheets int Number of sheets of paper inserted to the envelope.
SubmitTime datetime Date and time when the letter was submitted to the PostalMethods service.
CompletionTime datetime Approximate date and time when the letter was delivered to the postal service.
Orientation String Portrait or landscape. Orientation used to print the user's document.
Envelope String Envelope used for this letter.
Paper String Paper used for this letter.
PrintColor String Full color or black.
Color used for printing this letter.
PrintSides String Simplex or duplex.
Printing method used for this letter.
NationalMailing String Mailing priority when sending within the account country.
InternationalMailing String Mailing priority when sending outside the account country.