UPS

Connecting to UPS (using ODBC)

You can use the Microsoft ODBC Data Source Administrator to edit the DSN configuration. Note that the DSN is created during the installation process.

Complete the following steps to edit the DSN configuration:

  1. Select Start > Search, and enter ODBC Data Sources in the Search box.

  2. Choose the version of the ODBC Administrator that corresponds to the bitness of your application (32-bit or 64-bit).

  3. Click the System DSN tab.

  4. Select the system data source and click Configure.

  5. Edit the information on the Connection tab and click OK.

Note: For .NET Framework 4.0, the driver distributes Microsoft Visual C++ 2017 Redistributable. For .NET Framework 3.5, the driver distributes Microsoft Visual C++ 2008 Redistributable.

The ODBC Driver for UPS uses five pieces of information in order to authenticate its actions with the UPS service.

  • Server: This controls the URL where the requests should be sent. Common testing options for this are: "https://wwwcie.ups.com/ups.app/xml", and "https://wwwcie.ups.com/webservices"

  • AccessKey: This is an identifier that is required to connect to a UPS Server. This value will be provided to you by UPS after registration.

  • UserId: This value is used for logging into UPS. This value is the one you chose to login with when registering for service with UPS.

  • Password: This value is used for logging into UPS. This value is the one you chose to login with when registering for service with UPS.

  • AccountNumber: This is a valid 6-digit or 10-digit UPS account number.

  • PrintLabelLocation: This property is required to use the GenerateLabels or GenerateReturnLabels functions. This should be set to the folder location where generated labels should be stored.

Last updated