ServiceType Property
Indicates the service type in the list of available services returned.
Syntax
int GetServiceType(int iServiceIdx);
Possible Values
ST_UNSPECIFIED(0), ST_FED_EX_PRIORITY_OVERNIGHT(10), ST_FED_EX_STANDARD_OVERNIGHT(11), ST_FED_EX_FIRST_OVERNIGHT(12), ST_FED_EX_2DAY(13), ST_FED_EX_EXPRESS_SAVER(14), ST_FED_EX_GROUND(15), ST_FED_EX_GROUND_HOME_DELIVERY(16), ST_FED_EX_1DAY_FREIGHT(17), ST_FED_EX_2DAY_FREIGHT(18), ST_FED_EX_3DAY_FREIGHT(19), ST_FED_EX_INTERNATIONAL_PRIORITY(20), ST_FED_EX_INTERNATIONAL_ECONOMY(21), ST_FED_EX_INTERNATIONAL_FIRST(22), ST_FED_EX_INTERNATIONAL_PRIORITY_FREIGHT(23), ST_FED_EX_INTERNATIONAL_ECONOMY_FREIGHT(24), ST_FED_EX_EUROPE_FIRST_INTERNATIONAL_PRIORITY(25), ST_FED_EX_SMART_POST(26), ST_FED_EX_2DAY_AM(27), ST_FED_EX_FIRST_FREIGHT(28), ST_FED_EX_INTERNATIONAL_GROUND(29), ST_FED_EX_FREIGHT_ECONOMY(30), ST_FED_EX_FREIGHT_PRIORITY(31), ST_UPSFIRST_CLASS(35), ST_UPSPRIORITY_MAIL(36), ST_UPSEXPEDITED_MAIL_INNOVATIONS(37), ST_UPSPRIORITY_MAIL_INNOVATIONS(38), ST_UPSECONOMY_MAIL_INNOVATIONS(39), ST_UPSNEXT_DAY_AIR(40), ST_UPSEXPRESS(41), ST_UPS2ND_DAY_AIR(42), ST_UPSGROUND(43), ST_UPSWORLDWIDE_EXPRESS(44), ST_UPSWORLDWIDE_EXPEDITED(45), ST_UPSEXPEDITED(46), ST_UPSSTANDARD(47), ST_UPS3DAY_SELECT(48), ST_UPSNEXT_DAY_AIR_SAVER(49), ST_UPSSAVER(50), ST_UPSNEXT_DAY_AIR_EARLY_AM(51), ST_UPSEXPRESS_EARLY_AM(52), ST_UPSWORLDWIDE_EXPRESS_PLUS(53), ST_UPSEXPRESS_PLUS(54), ST_UPS2ND_DAY_AIR_AM(55), ST_UPSTODAY_STANDARD(56), ST_UPSTODAY_COURRIER(57), ST_UPSTODAY_INTER_CITY(58), ST_UPSTODAY_EXPRESS(59), ST_UPSTODAY_EXPRESS_SAVER(60), ST_UPSWORLDWIDE_EXPRESS_FREIGHT(61), ST_UPSSURE_POST_LESS_THAN_1LB(62), ST_UPSSURE_POST_1LBOR_GREATER(63), ST_UPSSURE_POST_BPM(64), ST_UPSSURE_POST_MEDIA(65), ST_USPSEXPRESS(70), ST_USPSFIRST_CLASS(71), ST_USPSPRIORITY(72), ST_USPSPARCEL_POST(73), ST_USPSMEDIA(75), ST_USPSLIBRARY(76), ST_USPSONLINE(77), ST_USPSGLOBAL_EXPRESS(78), ST_USPSPARCEL_SELECT(79), ST_USPSCRITICAL_MAIL(80), ST_USPSSTANDARD_MAIL(81), ST_USPSEXPRESS_MAIL_INTERNATIONAL(82), ST_USPSFIRST_CLASS_MAIL_INTERNATIONAL(83), ST_USPSPRIORITY_MAIL_INTERNATIONAL(84), ST_CANADA_REGULAR_PARCEL(90), ST_CANADA_EXPEDITED_PARCEL(91), ST_CANADA_XPRESSPOST(92), ST_CANADA_LIBRARY(93), ST_CANADA_PRIORITY(94), ST_CANADA_PRIORITY_ENVELOPE_USA(95), ST_CANADA_PRIORITY_PAK_USA(96), ST_CANADA_PRIORITY_PARCEL_USA(97), ST_CANADA_XPRESSPOST_USA(98), ST_CANADA_EXPEDITED_PARCEL_USA(99), ST_CANADA_SMALL_PACKET_AIR_USA(100), ST_CANADA_TRACKED_PACKET_USA(101), ST_CANADA_TRACKED_PACKET_LVMUSA(102), ST_CANADA_PRIORITY_ENVELOPE_INTERNATIONAL(103), ST_CANADA_PRIORITY_PAK_INTERNATIONAL(104), ST_CANADA_PRIORITY_PARCEL_INTERNATIONAL(105), ST_CANADA_XPRESSPOST_INTERNATIONAL(106), ST_CANADA_SMALL_PACKET_AIR_INTERNATIONAL(107), ST_CANADA_SMALL_PACKET_LAND_INTERNATIONAL(108), ST_CANADA_PARCEL_AIR_INTERNATIONAL(109), ST_CANADA_PARCEL_LAND_INTERNATIONAL(110), ST_CANADA_TRACKED_PACKET_INTERNATIONAL(111), ST_FED_EX_DISTANCE_DEFERRED(120), ST_FED_EX_NEXT_DAY_AFTERNOON(121), ST_FED_EX_NEXT_DAY_EARLY_MORNING(122), ST_FED_EX_NEXT_DAY_END_OF_DAY(123), ST_FED_EX_NEXT_DAY_FREIGHT(124), ST_FED_EX_NEXT_DAY_MID_MORNING(125)
Default Value
0
Remarks
Indicates the service type in the list of available services returned.
This is populated when the GetShippingTime or GetRates methods are called.
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.
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) |
The size of the array is controlled by the ServiceCount property.
This property is read-only and not available at design time.
Data Type
Integer