Syntax
int PCMSNumLegs(Trip trip)
Parameters
Trip trip – Handle to a trip.
Description
Gets the number of legs in a calculated trip. This is useful for APIs related to legs, like reports. This is only accurate when the trip is recently run and has not had any new stops added.
Return Values
Returns the number of calculated legs in a trip.
Supported Since: PC*MILER|Connect 12
Category: Trip Management