Xbasic

ups_delivery_status Function

Syntax

Status as C = ups_delivery_status(C tracking_num )

Arguments

Status

The status of a shipment sent through United Parcel Service (UPS).

tracking_num

The tracking number of a shipment sent through United Parcel Service (UPS).

Description

Contacts the UPS web site and looks up the status of the specified tracking number

Discussion

The UPS_Delivery_Status() function contacts the UPS web site and looks up the status of a shipment sent through United Parcel Service (UPS). It then returns the status of the shipment sent via the United Parcel Service (UPS). Note : Use of this function requires an active Internet connection. See also, List Processing Functions.

Example

? ups_delivery_status("1Z410F7W4613702750") 
= "Delivered" 
? ups_delivery_status("1Z410F7W0216249769") 
= "Delivered" 
? ups_delivery_status("1Z410F7W6910270000") 'invalid number 
= ""