addJobComment

POST
Use dark colors for code blocksCopy
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

Use dark colors for code blocksCopy
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.