{ "name": "PublishRoutingServices", "displayName": "Publish Routing Services", "description": "Publish routing services based on a network dataset to an ArcGIS Server site.", "category": "", "helpUrl": "https://maps.dubbo.nsw.gov.au/arcgis/rest/directories/arcgisoutput/System/PublishingTools_GPServer/System_PublishingTools/PublishRoutingServices.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "networkDataset", "dataType": "GPString", "displayName": "networkDataset", "description": "Specify a network dataset used by the routing services. The workspace containing the network dataset must be registered as a data store item in your enterprise portal or the standalone ArcGIS Server site. The value for this parameter is specified using a JSON that contains \"datastoreId\" and \"path\" properties. The \"datastoreId\" is the id of the data store item referencing the workspace of the network dataset. The \"path\" is the relative path to the network dataset within the data store. For example, if the catalog path of your network dataset in a file geodatabase on the ArcGIS Server machine is \"C:\\data\\streets\\NorthAmerica.gdb\\Routing\\Routing_ND\" and your data store item is referencing \"C:\\data\", the value for this parameter should be specified as {\"datastoreId\": \"3eba512c2a0841d5adcc4c83029d8bf6\", \"path\": \"/streets/NorthAmerica.gdb/Routing/Routing_ND\"}", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "networkDatasetExtents", "dataType": "GPString", "displayName": "networkDatasetExtents", "description": "The feature class containing the extents for multiple network datasets. You should specify a value for either the networkDataset parameter or the networkDatasetExtents parameter but not both. The workspace containing the extents must be registered as a data store item in your enterprise portal or the standalone ArcGIS Server site and the parameter value is specified using the same pattern used to specify the networkDataset parameter.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "serviceFolder", "dataType": "GPString", "displayName": "serviceFolder", "description": "Folder name used to create all the routing services on the ArcGIS Server site.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Routing", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "solverTypes", "dataType": "GPMultiValue:GPString", "displayName": "solverTypes", "description": "The list of Network Analyst solvers to be included in the services. The default is to include all the solvers.", "direction": "esriGPParameterDirectionInput", "defaultValue": [ "ClosestFacility", "Location-Allocation", "OriginDestinationCostMatrix", "Route", "ServiceArea", "VehicleRoutingProblem", "LastMileDelivery", "SnapToRoads" ], "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "ClosestFacility", "Location-Allocation", "OriginDestinationCostMatrix", "Route", "ServiceArea", "VehicleRoutingProblem", "LastMileDelivery", "SnapToRoads" ], "parameterInfos": [ { "name": "", "dataType": "GPString", "displayName": "" } ] }, { "name": "configFile", "dataType": "GPDataFile", "displayName": "configFile", "description": "File containing additional configuration for the services. If a value is not specified, the system default configuration file is used.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "authenticationInfo", "dataType": "GPString", "displayName": "authenticationInfo", "description": "Specify the authentication information such as the token that should be used for publishing the services. The value for this parameter is specified as a JSON that should contain the \"token\" property and optionally a \"referer\" property that contains the referer that was specified when generating the token. You can obtain a token by calling the Generate Token operation from your enterprise portal. If a value for this parameter is not specified, the tool uses the token of the signed in user that called the tool.You should specify a value for this parameter when the token for the signed in user will expire before the tool can complete it's execution. ", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "routingServices", "dataType": "GPString", "displayName": "routingServices", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }