ArcGIS REST Services Directory
Login
Home
>
services
>
Routing
>
NetworkAnalysisSync (GPServer)
>
EditVehicleRoutingProblem
>
execute
Help
|
API Reference
Execute Task (EditVehicleRoutingProblem)
Orders:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "ServiceTime", "type": "esriFieldTypeDouble", "alias": "ServiceTime" }, { "name": "TimeWindowStart1", "type": "esriFieldTypeDate", "alias": "TimeWindowStart1", "length": 8 }, { "name": "TimeWindowEnd1", "type": "esriFieldTypeDate", "alias": "TimeWindowEnd1", "length": 8 }, { "name": "TimeWindowStart2", "type": "esriFieldTypeDate", "alias": "TimeWindowStart2", "length": 8 }, { "name": "TimeWindowEnd2", "type": "esriFieldTypeDate", "alias": "TimeWindowEnd2", "length": 8 }, { "name": "MaxViolationTime1", "type": "esriFieldTypeDouble", "alias": "MaxViolationTime1" }, { "name": "MaxViolationTime2", "type": "esriFieldTypeDouble", "alias": "MaxViolationTime2" }, { "name": "InboundArriveTime", "type": "esriFieldTypeDate", "alias": "InboundArriveTime", "length": 8 }, { "name": "OutboundDepartTime", "type": "esriFieldTypeDate", "alias": "OutboundDepartTime", "length": 8 }, { "name": "DeliveryQuantities", "type": "esriFieldTypeString", "alias": "DeliveryQuantities", "length": 128 }, { "name": "PickupQuantities", "type": "esriFieldTypeString", "alias": "PickupQuantities", "length": 128 }, { "name": "Revenue", "type": "esriFieldTypeDouble", "alias": "Revenue" }, { "name": "SpecialtyNames", "type": "esriFieldTypeString", "alias": "SpecialtyNames", "length": 500 }, { "name": "AssignmentRule", "type": "esriFieldTypeInteger", "alias": "AssignmentRule" }, { "name": "RouteName", "type": "esriFieldTypeString", "alias": "RouteName", "length": 1024 }, { "name": "Sequence", "type": "esriFieldTypeInteger", "alias": "Sequence" }, { "name": "CurbApproach", "type": "esriFieldTypeInteger", "alias": "CurbApproach" } ], "features": [], "exceededTransferLimit": false }
Depots:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "TimeWindowStart1", "type": "esriFieldTypeDate", "alias": "TimeWindowStart1", "length": 8 }, { "name": "TimeWindowEnd1", "type": "esriFieldTypeDate", "alias": "TimeWindowEnd1", "length": 8 }, { "name": "TimeWindowStart2", "type": "esriFieldTypeDate", "alias": "TimeWindowStart2", "length": 8 }, { "name": "TimeWindowEnd2", "type": "esriFieldTypeDate", "alias": "TimeWindowEnd2", "length": 8 }, { "name": "CurbApproach", "type": "esriFieldTypeInteger", "alias": "CurbApproach" }, { "name": "Bearing", "type": "esriFieldTypeDouble", "alias": "Bearing" }, { "name": "BearingTol", "type": "esriFieldTypeDouble", "alias": "BearingTol" }, { "name": "NavLatency", "type": "esriFieldTypeDouble", "alias": "NavLatency" } ], "features": [], "exceededTransferLimit": false }
Routes:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 1024 }, { "name": "StartDepotName", "type": "esriFieldTypeString", "alias": "StartDepotName", "length": 500 }, { "name": "EndDepotName", "type": "esriFieldTypeString", "alias": "EndDepotName", "length": 500 }, { "name": "StartDepotServiceTime", "type": "esriFieldTypeDouble", "alias": "StartDepotServiceTime" }, { "name": "EndDepotServiceTime", "type": "esriFieldTypeDouble", "alias": "EndDepotServiceTime" }, { "name": "EarliestStartTime", "type": "esriFieldTypeDate", "alias": "EarliestStartTime", "length": 8 }, { "name": "LatestStartTime", "type": "esriFieldTypeDate", "alias": "LatestStartTime", "length": 8 }, { "name": "ArriveDepartDelay", "type": "esriFieldTypeDouble", "alias": "ArriveDepartDelay" }, { "name": "Capacities", "type": "esriFieldTypeString", "alias": "Capacities", "length": 128 }, { "name": "FixedCost", "type": "esriFieldTypeDouble", "alias": "FixedCost" }, { "name": "CostPerUnitTime", "type": "esriFieldTypeDouble", "alias": "CostPerUnitTime" }, { "name": "CostPerUnitDistance", "type": "esriFieldTypeDouble", "alias": "CostPerUnitDistance" }, { "name": "OvertimeStartTime", "type": "esriFieldTypeDouble", "alias": "OvertimeStartTime" }, { "name": "CostPerUnitOvertime", "type": "esriFieldTypeDouble", "alias": "CostPerUnitOvertime" }, { "name": "MaxOrderCount", "type": "esriFieldTypeInteger", "alias": "MaxOrderCount" }, { "name": "MaxTotalTime", "type": "esriFieldTypeDouble", "alias": "MaxTotalTime" }, { "name": "MaxTotalTravelTime", "type": "esriFieldTypeDouble", "alias": "MaxTotalTravelTime" }, { "name": "MaxTotalDistance", "type": "esriFieldTypeDouble", "alias": "MaxTotalDistance" }, { "name": "SpecialtyNames", "type": "esriFieldTypeString", "alias": "SpecialtyNames", "length": 1024 }, { "name": "AssignmentRule", "type": "esriFieldTypeInteger", "alias": "AssignmentRule" } ], "features": [], "exceededTransferLimit": false }
Breaks:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "RouteName", "type": "esriFieldTypeString", "alias": "RouteName", "length": 1024 }, { "name": "Precedence", "type": "esriFieldTypeInteger", "alias": "Precedence" }, { "name": "ServiceTime", "type": "esriFieldTypeDouble", "alias": "ServiceTime" }, { "name": "TimeWindowStart", "type": "esriFieldTypeDate", "alias": "TimeWindowStart", "length": 8 }, { "name": "TimeWindowEnd", "type": "esriFieldTypeDate", "alias": "TimeWindowEnd", "length": 8 }, { "name": "MaxViolationTime", "type": "esriFieldTypeDouble", "alias": "MaxViolationTime" }, { "name": "MaxTravelTimeBetweenBreaks", "type": "esriFieldTypeDouble", "alias": "MaxTravelTimeBetweenBreaks" }, { "name": "MaxCumulWorkTime", "type": "esriFieldTypeDouble", "alias": "MaxCumulWorkTime" }, { "name": "IsPaid", "type": "esriFieldTypeInteger", "alias": "IsPaid" }, { "name": "Sequence", "type": "esriFieldTypeInteger", "alias": "Sequence" } ], "features": [], "exceededTransferLimit": false }
Time Units:
(
GPString
)
Minutes
Distance Units:
(
GPString
)
Miles
Analysis Region:
(
GPString
)
Default Date:
(
GPDate
)
null
UTurn at Junctions:
(
GPString
)
ALLOW_DEAD_ENDS_ONLY
Time Window Factor:
(
GPString
)
Medium
Spatially Cluster Routes:
(
GPBoolean
)
true
Route Zones:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "RouteName", "type": "esriFieldTypeString", "alias": "RouteName", "length": 1024 }, { "name": "IsHardZone", "type": "esriFieldTypeInteger", "alias": "IsHardZone" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area" } ], "features": [], "exceededTransferLimit": false }
Route Renewals:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "RouteName", "type": "esriFieldTypeString", "alias": "RouteName", "length": 1024 }, { "name": "DepotName", "type": "esriFieldTypeString", "alias": "DepotName", "length": 500 }, { "name": "ServiceTime", "type": "esriFieldTypeDouble", "alias": "ServiceTime" }, { "name": "Sequences", "type": "esriFieldTypeString", "alias": "Sequences", "length": 128 } ], "features": [], "exceededTransferLimit": false }
Order Pairs:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "FirstOrderName", "type": "esriFieldTypeString", "alias": "FirstOrderName", "length": 500 }, { "name": "SecondOrderName", "type": "esriFieldTypeString", "alias": "SecondOrderName", "length": 500 }, { "name": "MaxTransitTime", "type": "esriFieldTypeDouble", "alias": "MaxTransitTime" } ], "features": [], "exceededTransferLimit": false }
Excess Transit Factor:
(
GPString
)
Medium
Point Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPoint", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "BarrierType", "type": "esriFieldTypeInteger", "alias": "Barrier Type" }, { "name": "Additional_Time", "type": "esriFieldTypeDouble", "alias": "Additional Time" }, { "name": "Additional_Distance", "type": "esriFieldTypeDouble", "alias": "Additional Distance" }, { "name": "AdditionalCost", "type": "esriFieldTypeDouble", "alias": "Additional Cost" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" }, { "name": "FullEdge", "type": "esriFieldTypeInteger", "alias": "Full Edge" } ], "features": [], "exceededTransferLimit": false }
Line Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" } ], "features": [], "exceededTransferLimit": false }
Polygon Barriers:
(
GPFeatureRecordSetLayer
)
{ "displayFieldName": "", "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 4326, "latestWkid": 4326 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "Name", "type": "esriFieldTypeString", "alias": "Name", "length": 500 }, { "name": "BarrierType", "type": "esriFieldTypeInteger", "alias": "Barrier Type" }, { "name": "ScaledTimeFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Time Factor" }, { "name": "ScaledDistanceFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Distance Factor" }, { "name": "ScaledCostFactor", "type": "esriFieldTypeDouble", "alias": "Scaled Cost Factor" }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length" }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area" } ], "features": [], "exceededTransferLimit": false }
Use Hierarchy:
(
GPBoolean
)
true
Restrictions:
(
GPMultiValue:GPString
)
["Bus Lanes","Fords","Gated Communities","Non Legal Roads","One Way","Private Roads","Restricted Roads","Restricted Turns","Rough Surface Roads","State Highway","Vehicles on Cycleways","Vehicles on Walkways"]
Attribute Parameter Values:
(
GPRecordSet
)
{ "displayFieldName": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID" }, { "name": "AttributeName", "type": "esriFieldTypeString", "alias": "AttributeName", "length": 255 }, { "name": "ParameterName", "type": "esriFieldTypeString", "alias": "ParameterName", "length": 255 }, { "name": "ParameterValue", "type": "esriFieldTypeString", "alias": "ParameterValue", "length": 25 } ], "features": [ {"attributes": { "OBJECTID": 1, "AttributeName": "Bus Lanes", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 2, "AttributeName": "Cycles on Motorways", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 3, "AttributeName": "Cycles on Roads", "ParameterName": "Restriction Usage", "ParameterValue": "PREFER_HIGH" }}, {"attributes": { "OBJECTID": 4, "AttributeName": "Fords", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_LOW" }}, {"attributes": { "OBJECTID": 5, "AttributeName": "Gated Communities", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 6, "AttributeName": "Non Legal Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_LOW" }}, {"attributes": { "OBJECTID": 7, "AttributeName": "One Way", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 8, "AttributeName": "Private Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_LOW" }}, {"attributes": { "OBJECTID": 9, "AttributeName": "Restricted Height", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 10, "AttributeName": "Restricted Roads", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 11, "AttributeName": "Restricted Turns", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 12, "AttributeName": "Restricted Weight", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 13, "AttributeName": "Rough Surface Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }}, {"attributes": { "OBJECTID": 14, "AttributeName": "State Highway", "ParameterName": "Restriction Usage", "ParameterValue": "PREFER_MEDIUM" }}, {"attributes": { "OBJECTID": 15, "AttributeName": "Trucks Allowed", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 16, "AttributeName": "Trucks Allowed with Permit", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 17, "AttributeName": "Vehicles on Cycleways", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 18, "AttributeName": "Vehicles on Walkways", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 19, "AttributeName": "Walking on Roads", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }} ], "exceededTransferLimit": false }
Populate Route Lines:
(
GPBoolean
)
true
Route Line Simplification Tolerance:
(
GPLinearUnit
)
{ "distance": 5, "units": "esriMeters" }
Populate Directions:
(
GPBoolean
)
false
Directions Language:
(
GPString
)
en
Directions Style Name:
(
GPString
)
NA Desktop
Travel Mode:
(
GPString
)
Custom
Impedance:
(
GPString
)
Drive Time
Time Zone Usage for Time Fields:
(
GPString
)
GEO_LOCAL
Save Output Network Analysis Layer:
(
GPBoolean
)
false
Overrides:
(
GPString
)
Save Route Data:
(
GPBoolean
)
false
Time Impedance:
(
GPString
)
TravelTimeByVehicle
Distance Impedance:
(
GPString
)
Length
Populate Stop Shapes:
(
GPBoolean
)
false
Output Format:
(
GPString
)
Feature Set
Ignore Invalid Order Locations:
(
GPBoolean
)
false
Ignore Network Location Fields:
(
GPBoolean
)
false
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Return Feature Collection:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON