addAttachments

POST
1
/{orgId}/{itemId}/jobs/{jobId}/attachments

Add an attachment to a job

Add an attachment to a job to provide additional or support information related to the job. The jobUpdateAttachments privilege is required to add an attachment to a job.

Body parameters

Supported content types: multipart/form-data

NameTypeRequiredDescription

token

string

string(binary)

The file to be uploaded and attached to the job.

string

Display name for the attachment.

string

Folder under which the attachment will be stored.

string

Optional. The Step ID value used to associate the attachment with a specific step.

attachment

The file to be uploaded and attached to the job.

alias

Display name for the attachment.

folder

Folder under which the attachment will be stored.

stepId

Optional. The Step ID value used to associate the attachment with a specific step.

Path parameters

NameTypeRequired

jobId

string

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/{jobId}/attachments \
  -H 'Content-Type: multipart/form-data' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"token":"string","attachment":"string","alias":"string","folder":"string","stepId":"string"}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Inline

400

Bad Request

error

WorkflowExceptionDTO

Response details

Status Code 200

JobAttachmentResult

NameTypeRequired

alias

string

url

string

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