![]() |
Languages »
C / C++ Language »
General
Intermediate
.NET UPS XML Tracking Interface DLLBy SuperJason2kA .NET DLL and sample application that interfaces with UPS's XML API to retrieve tracking information. You can also use it to generate an RSS feed.. |
C#, XML, Windows, .NET 1.1, WinForms, VS.NET2003, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
The latest version along with additional information will always be available at Tracking/Shipper Interface.

Note: The above information is not valid, it is only for display purposes. You will need to get your own information to use it. Please see below:
This application demonstrates the .NET DLL that can be used to interface with the UPS API. Right now, UPS is the only supported shipper, and only tracking information is supported. The only viable alternatives are to write your own, or use an expensive commercial version.
There are two main components to this demo. There is a DLL that is used to interface with the UPS system, and there is a sample application that demonstrates its use.
To use the interfacing DLL, you will need to get a developer account with UPS. To request tracking information, you will need the following:
The following code is used to retrieve a DataTable of tracking steps:
AccessRequest ar;
TrackingRequest tr;
TrackingResponse trackResponse;
tr = new
YTech.ShipperInterface.UPS.Tracking.TrackingRequest(txtTrackingNumber.Text, "1");
ar = new AccessRequest(txtLicenseNumber.Text, txtUserName.Text, txtPassword.Text);
trackResponse = tr.MakeRequest(ar);
dgTrackingInfo.DataSource = trackResponse.GetTrackingInfo();
There are many valuable ways to use this interface. If you have an eCommerce website, you can use it to provide tracking information right from your website.
Another excellent way to get your tracking information is through an RSS feed. Instead of checking for tracking updates, you can use your favorite RSS reader to notify you when your package status has changed. For more information, check out my page about UPS Tracking With RSS.
| You must Sign In to use this message board. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 20 Jan 2005 Editor: Rinish Biju |
Copyright 2005 by SuperJason2k Everything else Copyright © CodeProject, 1999-2009 Web22 | Advertise on the Code Project |