Description
The Rate Calculator Service allows developers to retrieve rates from the U.S.P.S. rate calculator. Note, currently the Rate Calculator Service only accepts domestic rate requests.
Request URL
http://www.27seconds.com/USPostalService/RateCalculator/RateCalculatorService.asmx
Methods
| GetRates (returns DataSet with 2 DataTables) |
| Parameter |
Value |
Description |
| userID |
String (required) |
Your U.S.P.S. Web Tools userID. To register with the U.S.P.S. Web Tools, please visit their web site. |
| password |
String (required) |
Your U.S.P.S. Web Tools password. To register with the U.S.P.S. Web Tools, please visit their web site. |
| serviceUrl |
String (required) |
The URL provided by the U.S.P.S. to access the Web Tools API. To register with the U.S.P.S. Web Tools, please visit their web site. |
| rm |
RateModel (required) |
The parameters of rate request are contained within a RateModel object. |
Note: this method returns a DataSet that contains 2 DataTables.
- RatePackage - a single record that contains information about the package to be shipped.
- RatePostage - multiple records that contain information about the various shipping options.
|
| |
Current Version
1.0
Return to Services Available