If “deprecated” status is applied to an API, it indicates that the API should be avoided when interfacing via PC*Miler Connect. We generally deprecate an API when a better alternative has been developed, in order to encourage users to work with the newer functionality. Although deprecated APIs may remain in the software, their use can produce warning messages or non-optimal results.
A deprecated API may be removed from the product in the future.
Deprecated in Version 33
API/Option Name
Deprecated in Version
Alternate Functionality
PCMSAFLinks
33
Use Content Tools to select roads to avoid or favor.
PCMSAFLinksClear
33
Use Content Tools to select roads to avoid or favor.
Deprecated in Previous Versions
API/Option Name
Deprecated in Version
Alternate Functionality
PCMSAddCustomPlace
32
Use Content Tools to add custom places.
PCMSAFActivateRegion
32
PCMSAFActivateSet
PCMSAFExportRegion
32
Use Content Tools to manage custom places.
PCMSDeleteCustomPlace
32
Use Content Tools to delete custom places.
PCMSAFExportSet
32
Use Content Tools to manage custom places.
PCMSGetStopType
32
None
PCMSCityToLatLong
30
PCMSLookup with PCMSGetFmtMatch4
PCMSLatLongToCity
30
PCMSLookup
PCMSLatLongToAddress
30
PCMSLookup
PCMSZipCodeUSAndMexico
30
PCMSZipCodeOption
PCMSZipCodeMexicoOnly
30
PCMSZipCodeOption
PCMSZipCodeUSOnly
30
PCMSZipCodeOption
PCMSAddressToLatLong
29
PCMSNewTrip, PCMSLookup with option 5 to get extended geocoding error codes for cases where you do not have an exact match, then PCMSGetFmtMatch4 and PCMSDeleteTrip
PCMSAddressToLatLong2
29
PCMSNewTrip, PCMSLookup with option 5 to get extended geocoding error codes for cases where you do not have an exact match, then PCMSGetFmtMatch4 and PCMSDeleteTrip
PCMSAddStop2
29
Stop validation via PCMSLookup with option 5 to get extended geocoding error codes for nonexact matches, if necessary PCMSGetMatch to get a routable stop and PCMSAddStop
PCMSCheckPlaceName
29
PCMSLookup with option 5 to get extended geocoding error codes for cases where you do not have an exact match
PCMSConvertLLToPlace
27
None
PCMSGetExactLevel
27
None
PCMSGetMaxTrustLevel
29
None
PCMSGetTrustLevel
29
None
PCMSSetExactLevel
27
None
Geocoding
API/Option Name
Deprecated in Version
Alternate Functionality
PCMSGetManagedRouteMsgBytes
31
Use PCMSCreateManagedRouteMsgBytes
PCMSAFLoad
26
Use PCMSSetCustomMode and PCMSAFActivateSet
PCMSAFLoadForRegion
26
Use PCMSSetCustomMode and PCMSAFActivateSet
PCMSAFSave
26
Create avoid/favor sets in PC*Miler UI
PCMSAFSaveForRegion
26
Create avoid/favor sets in PC*Miler UI
PCMSGetNumRouteLinks
27
None
PCMSGetRouteInfo
27
None
PCMSLocRadLookup2
29
PCMSLocRadLookup
PCMSSetOnRoad
29
None
PCMSSetRoadNameOnly
29
None
PCMSUpdateRouteInfo
27
None
Route Options
API/Option Name
Deprecated in Version
Alternate Functionality
PCMSSetOptions
30
Use APIs for individual options
PCMSGetOptions
30
None
PCMSSetProfileName
30
PCMSSetRoutingProfileName
OPTS_FERRYDISTANCE option flag
29
None
PCMSSetBorderWaitHours
29
None
PCMSSetBreakHours
29
None
PCMSSetBreakWaitHours
29
None
PCMSGetBorderWaitHours
29
None
PCMSGetBreakHours
29
None
PCMSGetBreakWaitHours
29
None
PCMSGetRemainingHoursOfService
29
None
PCMSSetRemainingHoursOfService
29
None
PCMSSetDefaultRegion
29
PCMSNewTripWithRegion
PCMSSetOldMode
27
None
PCMSSetOldModeForRegion
27
None
PCMSSetUseShapePts
27
None
Time and Distance
API/Option Name
Deprecated in Version
Alternate Functionality
ROADTYPE_DIVIDED defined constant
30
ROADTYPE_MAJORHIGHWAY
PCMSAirDistToLinks
27
None
PCMSAirDistToRte2
29
PCMSAirDistToRte
PCMSCalcDistance
29
Combination of PCMSNewTrip, PCMSCalcTrip, and PCMSDeleteTrip
PCMSCalcDistance2
29
Combination of PCMSNewTrip, PCMSSetCalcType, and PCMSCalcTrip
PCMSCalcDistance3
29
Combination of PCMSNewTrip, PCMSSetCalcType, PCMSCalcTrip, PCMSGetDuration, and PCMSDeleteTrip