addJobComment

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

Create a job comment

Adds a comment to a job. Job comments are associated to a specific job using the jobId. Users must have the job's associated job template shared with them to add a job comment.

Job Comment Parameters:

ParameterDescriptionData Type
commentRequired. The contents of the commentString

Query parameters

NameTypeRequired

token

string

Body parameters

Supported content types: application/json

NameTypeRequiredDescription

a job comment object defining the comment

comment

string

body

a job comment object defining the comment

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}/comments \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"comment":"string"}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Inline

404

Not Found

error

WorkflowJsonExceptionDTO

Response details

Status Code 200

AddJobCommentResponse

NameTypeRequired

commentId

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