addAttachments

Click to copy

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 parameter

Use dark colors for code blocksCopy
1
2
3
4
5
token: string
attachment: string
alias: string
folder: string
stepId: string

Path parameters

NameTypeRequired

jobId

string

orgId

string

itemId

string

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}/attachments \
  -H 'Content-Type: multipart/form-data' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

Use dark colors for code blocksCopy
1
2
3
4
{
  "alias": "string",
  "url": "string"
}
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.