Attachments
Get an attachment
Changed onRetrieves a single attachment, including its download URL (required scope attachments:read)
get/v1/attachments/{attachmentId}
Request
- Base URLhttps://api.bigchange.com
- URLhttps://api.bigchange.com/v1/attachments/{attachmentId}
- AuthHTTP bearer
Path parameters
attachmentIdinteger required
Example:123456
The unique identifier of the attachment
Headers
Customer-Idinteger required
The customer identifier
Response
OK
Example response
{
"id": 123456,
"fileName": "invoice.pdf",
"fileDescription": "Signed contract",
"fileType": "application/pdf",
"fileExtension": "pdf",
"isNew": true,
"isImage": true,
"createdAt": "2024-01-15T09:30:00.0000000+00:00",
"entityType": "job",
"isResourceVisible": true
}Changes
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
removed from the response body
allOflist for the response status
- breaking
- info
endpoint added
- info