GetLetterStatusV2_Range
Description
The GetLetterStatusV2_Range() method is a way to get a status report of multiple letters - by ID range - in a single Web Service request.
Formal Definition
https://api.postalmethods.com/PostalWS.asmx?op=GetLetterStatusV2_Range
Input
| Property | Type | Comments |
|---|---|---|
| Username | String | As provided during registration |
| Password | String | As provided during registration |
| MinID | int | ID matches the ID provided as a response to the original Web Service request. Response will provide status of up to 1000 letters per query. Additional items will be ignored. Letters which are not assigned to the account or which the user has no permission to access will not be returned. |
| MaxID | int |
Output: GetLetterStatusV2_RangeResponse
Structure: GetLetterStatusV2_RangeResult
| Element | Type | Comments |
|---|---|---|
| ResultCode | int | Result code for this Web Service request. Possible result codes appear in the Web Service Result Codes list. |
| LetterStatuses | Array | Array of LetterStatus structures |
Structure: LetterStatus
| Element | Type | Comments |
|---|---|---|
| ID | int | Corresponds to one of the IDs sent in the request |
| Status | int | The current status code of the letter. Letter Sending Status Codes |
| Description | string | The text description for the status code of the letter. Letter Sending Status Codes |
| LastUpdateTime | DateTime | The time stamp of the last update made to the letter's status. |

