Get a list of attachments for a note
Retrieve a paged collection of attachments belonging to a note (required scope attachments:read)
Request
- Base URLhttps://api.bigchange.com
- URLhttps://api.bigchange.com/v1/ContactNote/{noteId}/attachments
- AuthHTTP bearer
Path parameters
The note id
Query parameters
Only return attachments where the file name contains this value
Only return attachments that are visible to a resource (mobile field engineer) when true
The field to sort attachments by<p>Possible values:</p><ul><li><b>createdAt</b>: Sort by the date the attachment was created</li></ul>
The field to sort items in the page by
Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
The direction to apply the sort
The page number being requested
The page size being requested
Headers
The customer identifier
Response
OK
Example response
{
"items": [
{
"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
}
],
"pageNumber": 2,
"pageSize": 100,
"pageItemCount": 55
}