/{orgId}/{itemId}/jobs/{jobId}/location
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 |
Query parameters
Name | Type | Required |
---|---|---|
|
|
Body parameters
Supported content types: application/json
Name | Type | Required | Description |
---|---|---|---|
Location of the job |
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}' \
--data '{"location":{"geometryType":"Multipoint","geometry":"string"}}'
Response
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |