Skip to content

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
tokenstring¦null

Body parameters

Supported content types: application/json

Type: JobCommentArg

a job comment object defining the comment

NameTypeRequired
commentstring

Path parameters

NameTypeRequired
jobIdstring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

success

inline
404Not Found

error

WorkflowJsonExceptionDTO

Response details

Status Code 200

AddJobCommentResponse

NameTypeRequiredDescription
commentIdstring

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
5
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/{jobId}/comments \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  --data '{"comment":"string"}'

Response

Use dark colors for code blocksCopy
1
2
3
{
  "commentId": "string"
}

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