Get job attachments
Retrieves the list of attachments associated with a job.
If the job contains attachments, they are returned in an attachments
array with the following information:
- id: Attachment id for the attachment associated with a job.
- alias: Display name for the attachment.
- folder: The folder in which the attachment is saved. Folder name can be blank.
- url: Link for the attachment that consists of the jobId and the attachmentId.
- lastModifiedBy: Username for the user who added or updated the attachment on the job.
- lastModified: Date and time stamp for when the attachment was created or updated on the job. This field will not be modified if only the alias or the folder name for the attachment have been updated.
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobs/{jobId}/attachments \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"attachments": [
{
"id": "string",
"alias": "string",
"folder": "string",
"url": "string",
"lastModifiedBy": "string",
"lastModified": "2019-08-24T14:15:22Z"
}
]
}
Status | Meaning | Description | Schema |
---|---|---|---|
| List of attachments for a job | Inline | |
| error |
Response details
Status Code 200
JobAttachmentDescriptions
Name | Type | Required |
---|---|---|
| ||
|
| |
|
| |
|
| |
|
| |
|
| |
|
|