4D Shipping SDK 2020 .NET Edition

Questions / Feedback?

RequestedService Property

Service type for which the shipping rate is requested.

Syntax

public ServiceTypes RequestedService { get; set; }

enum CanadapostratesRequestedServices { 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, stUSPSBPM, stUSPSMedia, stUSPSLibrary, stUSPSOnline, stUSPSGlobalExpress, stUSPSParcelSelect, stUSPSCriticalMail, stUSPSStandardMail, stUSPSExpressMailInternational, stUSPSFirstClassMailInternational, stUSPSPriorityMailInternational, stUSPSPriorityExpress, stUSPSRetailGround, stUSPSFirstClassPackageInternationalService, stUSPSPriorityMailExpressInternational, 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, stFedExSameDay, stFedExSameDayCity, stFedExSameDayMetroAfternoon, stFedExSameDayMetroMorning, stFedExSameDayMetroRush, stUPSWorldwideEconomyDDU, stUPSWorldwideEconomyDDP, stUSPSParcelSelectGround, stUSPSPriorityMailCubic }
Public Property RequestedService As ServiceTypes

Enum CanadapostratesRequestedServices 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 stUSPSBPM stUSPSMedia stUSPSLibrary stUSPSOnline stUSPSGlobalExpress stUSPSParcelSelect stUSPSCriticalMail stUSPSStandardMail stUSPSExpressMailInternational stUSPSFirstClassMailInternational stUSPSPriorityMailInternational stUSPSPriorityExpress stUSPSRetailGround stUSPSFirstClassPackageInternationalService stUSPSPriorityMailExpressInternational 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 stFedExSameDay stFedExSameDayCity stFedExSameDayMetroAfternoon stFedExSameDayMetroMorning stFedExSameDayMetroRush stUPSWorldwideEconomyDDU stUPSWorldwideEconomyDDP stUSPSParcelSelectGround stUSPSPriorityMailCubic End Enum

Default Value

0

Remarks

This property is required to be entered in the request only if the rate request is made for a specific service type. In this case, the RequestedService should be set to a value different from 'stUnspecified'.

Otherwise, the rate request will be considered by the server as it has been made for all available services and respective rates.

Valid values for Canada Post are:

stCanadaRegularParcel (90)
stCanadaExpeditedParcel (91)
stCanadaXpresspost (92)
stCanadaXpresspostCertified (93)
stCanadaPriority (94)
stCanadaPriorityEnvelopeUSA (95)
stCanadaPriorityPakUSA (96)
stCanadaPriorityParcelUSA (97)
stCanadaXpresspostUSA (98)
stCanadaExpeditedParcelUSA (99)
stCanadaSmallPacketAirUSA (100)
stCanadaSmallPacketLandUSA (101)
stCanadaPriorityEnvelopeInternational (102)
stCanadaPriorityPakInternational (103)
stCanadaPriorityParcelInternational (104)
stCanadaXpresspostInternational (105)
stCanadaSmallPacketAirInternational (106)
stCanadaSmallPacketLandInternational (107)
stCanadaParcelAirInternational (108)
stCanadaParcelLandInternational (109)

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Shipping SDK 2020 .NET Edition - Version 20.0 [Build 7802]