CanadaPostAccount Type
Represents the details of a shipper account.
Remarks
This type contains data describing the server and login information.
Example: Setting the fields of an account for Canada Post servers
CanadaPostAccount account = new CanadaPostAccount account.AccountNumber = "1234567" account.UserId = "1234567" account.Password = "my_password" account.Server = "https://ct.soa-gw.canadapost.ca"
The fields contained by this type are listed below.
Fields
AccountNumber String |
The shipper's account number. This field should be set to the customer number of the owner of the mail (mailed on behalf of customer). |
ContractId String |
This field is used to specify the Contract Id of a Canada Post account and is used to identify a commercial contract. When specified the negotiated rates for the contract will be used. If not specified the standard list rates will be used. |
Password String |
Password for logging in to the Server. This field must be set to the login password for your Canada Post account. |
Server String |
URL for the server where the requests are sent. By default this is set to Canada Post's production server: "https://soa-gw.canadapost.ca/" |
UserId String |
User Id for logging in to the Server. This field must be set to the login username for your Canada Post account |
Constructors
[VB.NET] Public CanadaPostAccount() [C#] public CanadaPostAccount();