/
Retrieve attachments
Retrieves a list of attachments. You may sort attachments by: id, name, relatedId, relatedType, fileId, createdTime, and updatedTime.
Security
SecretApiKey or JWT
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/attachments
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/attachments
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/attachments
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/attachments?limit=0&offset=0&filter=string&q=string&fields=string&sort=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of attachments retrieved.
Headers
Total number of items that match the request. The value is independent of limit, including when limit is 0.
Example:332
Array []
ID of the linked file object.
Example:"file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N"
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
[ { "id": "att_0YV7J787J0DW0918MQQMDHWA7M", "fileId": "file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N", "relatedType": "credit-memo-timeline-comment", "relatedId": "string", "name": "string", "description": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ] } ]