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 | ||
PCMSAFLinks | Use Content Tools to select roads to avoid or favor. | |
PCMSAFLinksClear | 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 |
Geocoding | ||
PCMSCityToLatLong | 30 | |
PCMSLatLongToCity | 30 | |
PCMSLatLongToAddress | 30 | |
PCMSZipCodeUSAndMexico | 30 | |
PCMSZipCodeMexicoOnly | 30 | |
PCMSZipCodeUSOnly | 30 | |
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 |
Routing | ||
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 | |
PCMSSetOnRoad | 29 | None |
PCMSSetRoadNameOnly | 29 | None |
PCMSUpdateRouteInfo | 27 | None |
Route Options | ||
PCMSSetOptions | 30 | Use API’s 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 | |
PCMSSetOldMode | 27 | None |
PCMSSetOldModeForRegion | 27 | None |
PCMSSetUseShapePts | 27 | None |
Time and Distance | ||
ROADTYPE_DIVIDED defined constant | 30 | ROADTYPE_MAJORHIGHWAY |
PCMSAirDistToLinks | 27 | None |
PCMSAirDistToRte2 | 29 | |
PCMSCalcDistance | 29 | Combination of PCMSNewTrip, PCMSCalcTrip, and PCMSDeleteTrip |
PCMSCalcDistance2 | 29 | Combination of PCMSNewTrip, PCMSSetCalcType, PCMSCalcTrip |
PCMSCalcDistance3 | 29 | Combination of PCMSNewTrip, PCMSSetCalcType, PCMSCalcTrip, PCMSGetDuration, and PCMSDeleteTrip |
PCMSCalcTrip2 | 29 | |
Miscellaneous | ||
PCMSTripCacheSave | 26 | None |
PCMSTripCacheLoad | 26 | None |
PCMSChangeWWDataSet | 28 | None |
PCMSFuelOptimize | 27 | None |
PCMSSetDebug | 28 | None |
PCMSGetDebug | 28 | None |
PCMSIsValid | 29 | None |
Function CToBas | 26 | None |
Server.jar | 30 | Alk.jar |
PCMSMatrixLoadStopsFromFile | 30 | None |