setJobLocation

PUT
1
/{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:

ParameterDescriptionData Type
geometryTypeOptional. Type of location defined. Parameter geometryType 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
geometryOptional. Coordinates and spatial reference for the location.String

Query parameters

NameTypeRequired

token

string

Body parameters

Supported content types: application/json

NameTypeRequiredDescription

Location of the job

body

Location of the job

Path parameters

NameTypeRequired

jobId

string

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# 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

StatusMeaningDescriptionSchema

200

OK

success

Success

400

Bad Request

error

WorkflowJsonExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close