When calculating a route, it is possible to identify the fastest, the shortest or the most interesting route regarding landscape depending on the impedance that was chosen. See the following links that describe how to define routing profiles with various properties:
•Cost

List of routing profiles configuration
Property |
Description |
Default routing profile |
Specifies the routing profile to be selected in the list of the profiles (when having any). If not configured, the very first one will be used. |
List of routing profiles properties
Configure a number of Routing Profiles in the List of Routing Profiles. In case a configured routing profile is invalid, it will not be available in the WebOffice 10.7 SP1 clients.

Routing profile configuration
Property |
Description |
Profile identifier |
Unique profile identifier. Example: truck_24_tons |
Profile name (alias) |
Profile name that will be displayed in the GUI. Example: Truck (24 ton) |
Routing profile properties
Note: When using the routing service from ArcGIS Online (https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer) you will find the parameters for the configuration of Analyse: Find Best Route in the ArcGIS Online help: http://resources.arcgis.com/en/help/arcgis-rest-api/#/Route_service_with_synchronous_execution/02r300000036000000/.
Parameter of ArcGIS Online help |
Configuration in WebOffice 10.7 SP1 |
impedanceAttributeName |
Attribute name in Cost |
directionsTimeAttributeName |
Time attribute in Directions |
restrictionAttributeNames |
Attribute name of Restriction in List of Routing Restrictions |
attributeParameterValues |
Custom attribute Name of Routing Parameter in List of Routing Restrictions |
Parameters of ArcGIS Online routing service