Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

RequestedService Property

Service type for which the shipping rate is requested.

Syntax

__property TibxUSPSRatesRequestedServices RequestedService = {read=FRequestedService, write=FSetRequestedService, default=0};



enum TibxUSPSRatesRequestedServices { stUnspecified=0, stFedExPriorityOvernight=10, stFedExStandardOvernight=11, stFedExFirstOvernight=12, stFedEx2Day=13, stFedExExpressSaver=14, stFedExGround=15, stFedExGroundHomeDelivery=16, stFedEx1DayFreight=17, stFedEx2DayFreight=18, stFedEx3DayFreight=19, stFedExInternationalPriority=20, stFedExInternationalEconomy=21, stFedExInternationalFirst=22, stFedExInternationalPriorityFreight=23, stFedExInternationalEconomyFreight=24, stFedExEuropeFirstInternationalPriority=25, stFedExSmartPost=26, stFedEx2DayAM=27, stFedExFirstFreight=28, stFedExInternationalGround=29, stFedExFreightEconomy=30, stFedExFreightPriority=31, stUPSFirstClass=35, stUPSPriorityMail=36, stUPSExpeditedMailInnovations=37, stUPSPriorityMailInnovations=38, stUPSEconomyMailInnovations=39, stUPSNextDayAir=40, stUPSExpress=41, stUPS2ndDayAir=42, stUPSGround=43, stUPSWorldwideExpress=44, stUPSWorldwideExpedited=45, stUPSExpedited=46, stUPSStandard=47, stUPS3DaySelect=48, stUPSNextDayAirSaver=49, stUPSSaver=50, stUPSNextDayAirEarlyAM=51, stUPSExpressEarlyAM=52, stUPSWorldwideExpressPlus=53, stUPSExpressPlus=54, stUPS2ndDayAirAM=55, stUPSTodayStandard=56, stUPSTodayCourrier=57, stUPSTodayInterCity=58, stUPSTodayExpress=59, stUPSTodayExpressSaver=60, stUPSWorldwideExpressFreight=61, stUPSSurePostLessThan1LB=62, stUPSSurePost1LBOrGreater=63, stUPSSurePostBPM=64, stUPSSurePostMedia=65, stUSPSExpress=70, stUSPSFirstClass=71, stUSPSPriority=72, stUSPSParcelPost=73, stUSPSMedia=75, stUSPSLibrary=76, stUSPSOnline=77, stUSPSGlobalExpress=78, stUSPSParcelSelect=79, stUSPSCriticalMail=80, stUSPSStandardMail=81, stUSPSExpressMailInternational=82, stUSPSFirstClassMailInternational=83, stUSPSPriorityMailInternational=84, stCanadaRegularParcel=90, stCanadaExpeditedParcel=91, stCanadaXpresspost=92, stCanadaLibrary=93, stCanadaPriority=94, stCanadaPriorityEnvelopeUSA=95, stCanadaPriorityPakUSA=96, stCanadaPriorityParcelUSA=97, stCanadaXpresspostUSA=98, stCanadaExpeditedParcelUSA=99, stCanadaSmallPacketAirUSA=100, stCanadaTrackedPacketUSA=101, stCanadaTrackedPacketLVMUSA=102, stCanadaPriorityEnvelopeInternational=103, stCanadaPriorityPakInternational=104, stCanadaPriorityParcelInternational=105, stCanadaXpresspostInternational=106, stCanadaSmallPacketAirInternational=107, stCanadaSmallPacketLandInternational=108, stCanadaParcelAirInternational=109, stCanadaParcelLandInternational=110, stCanadaTrackedPacketInternational=111, stFedExDistanceDeferred=120, stFedExNextDayAfternoon=121, stFedExNextDayEarlyMorning=122, stFedExNextDayEndOfDay=123, stFedExNextDayFreight=124, stFedExNextDayMidMorning=125 };

Default Value

0

Remarks

If you send a request with the RequestedService set to svcPriority, after a call to GetRates, the price to send a Priority Mail package will be returned in ServiceListNetCharge. However, if you set the RequestedService to stUnspecified, the rates for all service types will be returned.

The RequestedService is used to filter the postage rates that are returned by service type. If you are only interested in Priority Mail rates, there is no need to receive Parcel Post or Library mail, for instance. Rates will be returned in the ServiceListNetCharge array property, with the service it corresponds located in the ServiceType and ServiceTypeDescription properties.

This property is only valid for domestic shipments.

The stUnspecified value is not valid when PostageProvider is set to ppEndicia.

The available service types for USPS include:

Valid values for USPS are:

stUnspecified (0)
stUSPSExpress (70)
stUSPSFirstClass (71)
stUSPSPriority (72)
stUSPSParcelPost (73)
stUSPSMedia (75)
stUSPSLibrary (76)
stUSPSOnline (77) (USPS Only)
stUSPSParcelSelect (79) (Endicia only)
stUSPSCriticalMail (80) (Endicia only)
stUSPSStandardMail (81) (Endicia only)

Please note that the RequestedService stUSPSBoundPrintedMatter (74) is no longer supported by USPS or Endicia.

Please note that some ShipmentSpecialServices flags such as Hold For Pickup, Premium Service (Sunday/Holiday), and Commercial will affect the rate.

Also, please note that all ServiceListNetCharges are also dependant on the SenderZipCode, SenderZipCode (or SenderCountryCode for international shipments), PackageWeight, PackageSize and PackageType. Priority Mail packages larger than 1 cubic foot in size also require PackageLength, PackageWidth, and PackageHeight to accurately calculate the postage.

Note that when using any of the commercial service types, you must use the CommercialRate configuration setting to retrieve the commercial rate for the postage service at index i.

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0