RequestedService Property
Service type for which the shipping rate is requested.
Syntax
public int getRequestedService(); public void setRequestedService(int requestedService);
Enumerated values: public final static int stUnspecified = 0; public final static int stFedExPriorityOvernight = 10; public final static int stFedExStandardOvernight = 11; public final static int stFedExFirstOvernight = 12; public final static int stFedEx2Day = 13; public final static int stFedExExpressSaver = 14; public final static int stFedExGround = 15; public final static int stFedExGroundHomeDelivery = 16; public final static int stFedEx1DayFreight = 17; public final static int stFedEx2DayFreight = 18; public final static int stFedEx3DayFreight = 19; public final static int stFedExInternationalPriority = 20; public final static int stFedExInternationalEconomy = 21; public final static int stFedExInternationalFirst = 22; public final static int stFedExInternationalPriorityFreight = 23; public final static int stFedExInternationalEconomyFreight = 24; public final static int stFedExEuropeFirstInternationalPriority = 25; public final static int stFedExSmartPost = 26; public final static int stFedEx2DayAM = 27; public final static int stFedExFirstFreight = 28; public final static int stFedExInternationalGround = 29; public final static int stFedExFreightEconomy = 30; public final static int stFedExFreightPriority = 31; public final static int stUPSFirstClass = 35; public final static int stUPSPriorityMail = 36; public final static int stUPSExpeditedMailInnovations = 37; public final static int stUPSPriorityMailInnovations = 38; public final static int stUPSEconomyMailInnovations = 39; public final static int stUPSNextDayAir = 40; public final static int stUPSExpress = 41; public final static int stUPS2ndDayAir = 42; public final static int stUPSGround = 43; public final static int stUPSWorldwideExpress = 44; public final static int stUPSWorldwideExpedited = 45; public final static int stUPSExpedited = 46; public final static int stUPSStandard = 47; public final static int stUPS3DaySelect = 48; public final static int stUPSNextDayAirSaver = 49; public final static int stUPSSaver = 50; public final static int stUPSNextDayAirEarlyAM = 51; public final static int stUPSExpressEarlyAM = 52; public final static int stUPSWorldwideExpressPlus = 53; public final static int stUPSExpressPlus = 54; public final static int stUPS2ndDayAirAM = 55; public final static int stUPSTodayStandard = 56; public final static int stUPSTodayCourrier = 57; public final static int stUPSTodayInterCity = 58; public final static int stUPSTodayExpress = 59; public final static int stUPSTodayExpressSaver = 60; public final static int stUPSWorldwideExpressFreight = 61; public final static int stUPSSurePostLessThan1LB = 62; public final static int stUPSSurePost1LBOrGreater = 63; public final static int stUPSSurePostBPM = 64; public final static int stUPSSurePostMedia = 65; public final static int stUSPSExpress = 70; public final static int stUSPSFirstClass = 71; public final static int stUSPSPriority = 72; public final static int stUSPSParcelPost = 73; public final static int stUSPSMedia = 75; public final static int stUSPSLibrary = 76; public final static int stUSPSOnline = 77; public final static int stUSPSGlobalExpress = 78; public final static int stUSPSParcelSelect = 79; public final static int stUSPSCriticalMail = 80; public final static int stUSPSStandardMail = 81; public final static int stUSPSExpressMailInternational = 82; public final static int stUSPSFirstClassMailInternational = 83; public final static int stUSPSPriorityMailInternational = 84; public final static int stCanadaRegularParcel = 90; public final static int stCanadaExpeditedParcel = 91; public final static int stCanadaXpresspost = 92; public final static int stCanadaLibrary = 93; public final static int stCanadaPriority = 94; public final static int stCanadaPriorityEnvelopeUSA = 95; public final static int stCanadaPriorityPakUSA = 96; public final static int stCanadaPriorityParcelUSA = 97; public final static int stCanadaXpresspostUSA = 98; public final static int stCanadaExpeditedParcelUSA = 99; public final static int stCanadaSmallPacketAirUSA = 100; public final static int stCanadaTrackedPacketUSA = 101; public final static int stCanadaTrackedPacketLVMUSA = 102; public final static int stCanadaPriorityEnvelopeInternational = 103; public final static int stCanadaPriorityPakInternational = 104; public final static int stCanadaPriorityParcelInternational = 105; public final static int stCanadaXpresspostInternational = 106; public final static int stCanadaSmallPacketAirInternational = 107; public final static int stCanadaSmallPacketLandInternational = 108; public final static int stCanadaParcelAirInternational = 109; public final static int stCanadaParcelLandInternational = 110; public final static int stCanadaTrackedPacketInternational = 111; public final static int stFedExDistanceDeferred = 120; public final static int stFedExNextDayAfternoon = 121; public final static int stFedExNextDayEarlyMorning = 122; public final static int stFedExNextDayEndOfDay = 123; public final static int stFedExNextDayFreight = 124; public final static int stFedExNextDayMidMorning = 125;
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 FedEx are:
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) | For intra-Europe shipments only. |
stFedExSmartPost (26) | |
stFedEx2DayAM (27) | |
stFedExFirstFreight (28) | |
stFedExFreightEconomy (30) | |
stFedExFreightPriority (31) | |
stFedExDistanceDeferred (120) | For intra-UK shipments only. |
stFedExNextDayAfternoon (121) | For intra-UK shipments only. |
stFedExNextDayEarlyMorning (122) | For intra-UK shipments only. |
stFedExNextDayEndOfDay (123) | For intra-UK shipments only. |
stFedExNextDayFreight (124) | For intra-UK shipments only. |
stFedExNextDayMidMorning (125) | For intra-UK shipments only. |
Valid values for UPS are:
Value | Applicable for |
stUnspecified (0) | |
stUPSNextDayAir (40) | US Domestic Shipments; Originating in US/PR |
stUPSExpress (41) | Polish Domestic Shipments; All Origins |
stUPS2ndDayAir (42) | US Domestic Shipments; Originating in US/PR |
stUPSGround (43) | US Domestic Shipments; Originating in US/PR |
stUPSWorldwideExpress (44) | Originating in US/PR |
stUPSWorldwideExpedited (45) | US/PR, Canada and Non-EU origins, EXCEPT Mexico |
stUPSExpedited (46) | Polish Domestic Shipments; Originating in EU or Mexico |
stUPSStandard (47) | Polish Domestic Shipments; All Origins |
stUPS3DaySelect (48) | US Domestic Shipments; Originating in CA or US |
stUPSNextDayAirSaver (49) | US Domestic Shipments |
stUPSSaver (50) | US or Polish Domestic Shipments; All Origins |
stUPSNextDayAirEarlyAM (51) | US Domestic Shipments; Originating in CA or US/PR |
stUPSExpressEarlyAM (52) | Originating in CA |
stUPSWorldwideExpressPlus (53) | Polish Domestic Shipments; All Origins EXCEPT Canada and Mexico |
stUPSExpressPlus (54) | Originating in Mexico |
stUPS2ndDayAirAM (55) | US Domestic Shipments; Originating in US |
stUPSTodayStandard (56) | Polish Domestic Shipments (Stolica) |
stUPSTodayCourrier (57) | Polish Domestic Shipments (Stolica) |
stUPSTodayInterCity (58) | Polish Domestic Shipments (Stolica) |
stUPSTodayExpress (59) | Polish Domestic Shipments (Stolica) |
stUPSTodayExpressSaver (60) | Polish Domestic Shipments (Stolica) |
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.
Default Value
0