ServiceTypeDescription Property
Description of a UPS service used to ship the package or shipment being tracked.
Syntax
upstrack.getServiceTypeDescription([callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getServiceTypeDescription([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setServiceTypeDescription([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property is populated when the TrackShipment method is called regardless the idType.
Possible values are UPS available services:
UPS Next Day Air | |
UPS Express | |
UPS 2nd Day Air | |
UPS Ground | |
UPS Worldwide Express | |
UPS Worldwide Expedited | |
UPS Expedited | |
UPS Standard | |
UPS 3-Day Select | |
UPS Next Day Air Saver | |
UPS Saver | |
UPS Next Day Air Early A.M. | |
UPS Express Early A.M. | |
UPS Worldwide Express Plus | |
UPS Express Plus | |
UPS 2nd Day Air A.M. | |
UPS Today Standard | |
UPS Today Dedicated Courier | |
UPS Today Intercity | |
UPS Today Express | |
UPS Today Express Saver |
This property is read-only.
Data Type
String