(North America only; must be licensed for toll data)
=DiscountedTollsWS returns the portion of the tolls for the trip attributable to the specified discount program. If tollplan is set to Cash, it returns the cash portion; if set to EZPass it returns the EZPass portion, etc.
Syntax
=DiscountedTollsWS (origin, destination, tollplan, routetype, dims, units, LCV, dataversion, traffic)
Arguments
Argument | Description | Required? | Values |
origin | The origin of the trip. | yes | A geocodable location in the PC*MILER database. Learn more about how to input locations. Examples: Princeton, NJ 08540 40.420833N,74.561111Wnew york, ny;118 broadway 191690000 |
destination | The destination of the trip. | yes | A geocodable location in the PC*MILER database. Learn more about how to input locations. |
tollplan | The toll discount program to be used in calculations. | no | Enter Cash for the cash portion of tolls or select a program from this list. (Spelling must match.) |
routetype | The PC*MILER route type to be used in mileage calculations. Learn more about PC*MILER route types. | no | Prac for Practical routing Short for Shortest routing Natl for State + National Network routing Toll for Toll Discouraged routing* Air for the Air Distance or, a combination: Prac|Natl Short|Toll Practical is the Default. *Requires license for toll data. |
dims | The truck's dimensions. | no | Enter a number for each dimension in this order: height in inches; width in inches, length in feet, weight in pounds and number of axles. Each dimension must be separated by a comma. Leave a blank between two commas if you want to enter some values but not all. Examples: 162,96,53,80000,8 162,,53,,8 |
units | The units of measurement used in the dims argument. | no | English (Default) Metric |
LCV | Indicates whether the truck is a multi-trailer or longer combination vehicle. | no | True False (Default) |
dataversion | The data version to be used in mileage calculations. (For users licensed for multiple data versions.) | no | Enter PCM plus the version number: The range is PCM18 to PCM32 Current version is default |
traffic | Indicates whether or not use traffic data. (For users licensed for traffic data.) | no | True False (Default) |