ArcGIS REST Services Directory
Login
|
Get Token
Home
>
services
>
Routing
>
NetworkAnalysis (GPServer)
>
FindClosestFacilities
>
submitJob
Help
|
API Reference
Submit Job (FindClosestFacilities)
Incidents:
(
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": "ID", "type": "esriFieldTypeString", "alias": "ID", "length": 128 }, { "name": "AdditionalTime", "type": "esriFieldTypeDouble", "alias": "Additional Time" }, { "name": "AdditionalDistance", "type": "esriFieldTypeDouble", "alias": "Additional Distance" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" }, { "name": "AdditionalCost", "type": "esriFieldTypeDouble", "alias": "Additional Cost" }, { "name": "Cutoff", "type": "esriFieldTypeDouble", "alias": "Cutoff" }, { "name": "TargetFacilityCount", "type": "esriFieldTypeInteger", "alias": "Target Facility Count" } ], "features": [], "exceededTransferLimit": false }
Facilities:
(
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": "ID", "type": "esriFieldTypeString", "alias": "ID", "length": 128 }, { "name": "AdditionalTime", "type": "esriFieldTypeDouble", "alias": "Additional Time" }, { "name": "AdditionalDistance", "type": "esriFieldTypeDouble", "alias": "Additional Distance" }, { "name": "CurbApproach", "type": "esriFieldTypeSmallInteger", "alias": "Curb Approach" }, { "name": "AdditionalCost", "type": "esriFieldTypeDouble", "alias": "Additional Cost" }, { "name": "Cutoff", "type": "esriFieldTypeDouble", "alias": "Cutoff" } ], "features": [], "exceededTransferLimit": false }
Measurement Units:
(
GPString
)
Minutes
Analysis Region:
(
GPString
)
Number of Facilities to Find:
(
GPLong
)
1
Cutoff:
(
GPDouble
)
null
Travel Direction:
(
GPString
)
Incident to Facility
Use Hierarchy:
(
GPBoolean
)
true
Time of Day:
(
GPDate
)
null
Time of Day Usage:
(
GPString
)
Start Time
UTurn at Junctions:
(
GPString
)
Allowed Only at Intersections and Dead Ends
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 }
Restrictions:
(
GPMultiValue:GPString
)
["All Vehicles Restricted","Avoid Pedestrian Zones","Avoid Private Roads","Avoid Roads Under Construction","Avoid Roads for Authorities","Avoid Service Roads","Avoid Walkways","Driving a Passenger Car","Through Traffic Prohibited"]
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": "All Vehicles Restricted", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 2, "AttributeName": "Avoid Back Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 3, "AttributeName": "Avoid Ferries", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 4, "AttributeName": "Avoid Four Wheel Drive Only Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 5, "AttributeName": "Avoid Limited Access Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 6, "AttributeName": "Avoid Pedestrian Zones", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 7, "AttributeName": "Avoid Private Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 8, "AttributeName": "Avoid Roads Under Construction", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 9, "AttributeName": "Avoid Roads for Authorities", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 10, "AttributeName": "Avoid Roads in Poor Condition", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 11, "AttributeName": "Avoid Service Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 12, "AttributeName": "Avoid Toll Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 13, "AttributeName": "Avoid Unpaved Roads", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_MEDIUM" }}, {"attributes": { "OBJECTID": 14, "AttributeName": "Avoid Walkways", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 15, "AttributeName": "Driving a Passenger Car", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 16, "AttributeName": "Driving a Public Bus", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 17, "AttributeName": "Driving a Residential Vehicle", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 18, "AttributeName": "Driving a Taxi", "ParameterName": "Restriction Usage", "ParameterValue": "PROHIBITED" }}, {"attributes": { "OBJECTID": 19, "AttributeName": "Through Traffic Prohibited", "ParameterName": "Restriction Usage", "ParameterValue": "AVOID_HIGH" }} ], "exceededTransferLimit": false }
Route Shape:
(
GPString
)
True Shape
Route Line Simplification Tolerance:
(
GPLinearUnit
)
{ "distance": 10, "units": "esriMeters" }
Populate Directions:
(
GPBoolean
)
false
Directions Language:
(
GPString
)
en
Directions Distance Units:
(
GPString
)
Miles
Directions Style Name:
(
GPString
)
NA Desktop
Time Zone for Time of Day:
(
GPString
)
Geographically Local
Travel Mode:
(
GPString
)
Custom
Impedance:
(
GPString
)
Drive Time
Save Output Network Analysis Layer:
(
GPBoolean
)
false
Overrides:
(
GPString
)
Save Route Data:
(
GPBoolean
)
false
Time Impedance:
(
GPString
)
Minutes
Distance Impedance:
(
GPString
)
Miles
Output Format:
(
GPString
)
Feature Set
Accumulate Attributes:
(
GPMultiValue:GPString
)
[]
Ignore Network Location Fields:
(
GPBoolean
)
false
Ignore Invalid Locations:
(
GPBoolean
)
true
Options:
Output Spatial Reference:
Process Spatial Reference:
ReturnZ:
True
False
ReturnM:
True
False
Return True Curves:
True
False
Context:
Format:
HTML
JSON
KMZ
GeoJSON