{ "name": "GetTravelModes", "displayName": "GetTravelModes", "description": "Get a list of travel modes configured for your organization that can be used with ArcGIS Online network analysis services. A travel mode represents a means of transportation, such as driving or walking. Travel modes are essentially templates consisting of a long list of travel settings.", "category": "", "helpUrl": "https://sampleserver7.arcgisonline.com/server/rest/directories/arcgisoutput/NetworkAnalysis/NetworkAnalysisUtilities_GPServer/NetworkAnalysis_NetworkAnalysisUtilities/GetTravelModes.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "supportedTravelModes", "dataType": "GPRecordSet", "displayName": "Supported Travel Modes", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": { "displayFieldName": "", "fields": [ { "name": "ObjectID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Travel Mode Name", "length": 255 }, { "name": "TravelModeId", "type": "esriFieldTypeString", "alias": "Travel Mode Identifier", "length": 50 }, { "name": "TravelMode", "type": "esriFieldTypeString", "alias": "Travel Mode Settings", "length": 65536 }, { "name": "AltName", "type": "esriFieldTypeString", "alias": "Alternate Travel Mode Name", "length": 255 } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "defaultTravelMode", "dataType": "GPString", "displayName": "Default Travel Mode", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }