Set the job's location
Set a location of work for an existing job. The geometry for the job location must be in the ArcGIS REST API geometry JSON format. The jobUpdateLocation privilege is required to set a location on a job.
Location Parameters:
Parameter | Description | Data Type |
---|---|---|
geometryType | Optional. Type of location defined. Parameter geometry is required if a geometry is specified. Supported geometry types are Multipoint, Polyline, and Polygon. Multipoint geometry type supports both Point and Multipoint geometries. Curve geometries are not supported. | String |
geometry | Optional. Coordinates and spatial reference for the location. | String |
Body parameter
{
"location": {
"geometryType": "Multipoint",
"geometry": "string"
}
}
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X PUT /{orgId}/{itemId}/jobs/{jobId}/location \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |