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

RequestedService Property

Service type for which the shipping rate is requested.

Syntax

[VB.NET]
Public Property RequestedService As ServiceTypes

[C#]
public ServiceTypes RequestedService {get; set;}

enum UspsratesRequestedServices { stUnspecified, stFedExPriorityOvernight, stFedExStandardOvernight, stFedExFirstOvernight, stFedEx2Day, stFedExExpressSaver, stFedExGround, stFedExGroundHomeDelivery, stFedEx1DayFreight, stFedEx2DayFreight, stFedEx3DayFreight, stFedExInternationalPriority, stFedExInternationalEconomy, stFedExInternationalFirst, stFedExInternationalPriorityFreight, stFedExInternationalEconomyFreight, stFedExEuropeFirstInternationalPriority, stFedExSmartPost, stFedEx2DayAM, stFedExFirstFreight, stFedExInternationalGround, stFedExFreightEconomy, stFedExFreightPriority, stUPSFirstClass, stUPSPriorityMail, stUPSExpeditedMailInnovations, stUPSPriorityMailInnovations, stUPSEconomyMailInnovations, stUPSNextDayAir, stUPSExpress, stUPS2ndDayAir, stUPSGround, stUPSWorldwideExpress, stUPSWorldwideExpedited, stUPSExpedited, stUPSStandard, stUPS3DaySelect, stUPSNextDayAirSaver, stUPSSaver, stUPSNextDayAirEarlyAM, stUPSExpressEarlyAM, stUPSWorldwideExpressPlus, stUPSExpressPlus, stUPS2ndDayAirAM, stUPSTodayStandard, stUPSTodayCourrier, stUPSTodayInterCity, stUPSTodayExpress, stUPSTodayExpressSaver, stUPSWorldwideExpressFreight, stUPSSurePostLessThan1LB, stUPSSurePost1LBOrGreater, stUPSSurePostBPM, stUPSSurePostMedia, stUSPSExpress, stUSPSFirstClass, stUSPSPriority, stUSPSParcelPost, stUSPSMedia, stUSPSLibrary, stUSPSOnline, stUSPSGlobalExpress, stUSPSParcelSelect, stUSPSCriticalMail, stUSPSStandardMail, stUSPSExpressMailInternational, stUSPSFirstClassMailInternational, stUSPSPriorityMailInternational, stCanadaRegularParcel, stCanadaExpeditedParcel, stCanadaXpresspost, stCanadaLibrary, stCanadaPriority, stCanadaPriorityEnvelopeUSA, stCanadaPriorityPakUSA, stCanadaPriorityParcelUSA, stCanadaXpresspostUSA, stCanadaExpeditedParcelUSA, stCanadaSmallPacketAirUSA, stCanadaTrackedPacketUSA, stCanadaTrackedPacketLVMUSA, stCanadaPriorityEnvelopeInternational, stCanadaPriorityPakInternational, stCanadaPriorityParcelInternational, stCanadaXpresspostInternational, stCanadaSmallPacketAirInternational, stCanadaSmallPacketLandInternational, stCanadaParcelAirInternational, stCanadaParcelLandInternational, stCanadaTrackedPacketInternational, stFedExDistanceDeferred, stFedExNextDayAfternoon, stFedExNextDayEarlyMorning, stFedExNextDayEndOfDay, stFedExNextDayFreight, stFedExNextDayMidMorning }

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 ListNetCharge. 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 ListNetCharge array property, with the service it corresponds located in the ServiceType and ServiceTypeDescription fields.

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 ListNetCharges are also dependant on the ZipCode, ZipCode (or CountryCode for international shipments), Weight, Size and PackagingType. Priority Mail packages larger than 1 cubic foot in size also require Length, Width, and Height 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.

Default Value

0

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