latestOpenAPI 3.0.02026-08-10233809957.8 KB
5cdfae3fa1fa
Attachments
Gets all invoice & bill attachments for a business.
get/attachments
Query parameters
businessNamestring required
serviceName'freshbooks' | 'quickbooks' | 'xero' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'zohoBooks' required
offsetnumber
The offset is the position in the dataset of a particular record.
limitnumber
This is the size of the results set you would like (default: 100).
orderBystring
idstring
Response
Example response
{
"count": 1,
"data": [
{
"id": "1",
"url": "https://api.railz.ai/Attachments/Image00394.png",
"fileName": "image00394.png",
"contentType": "image/jpeg",
"uploadDate": "2020-11-25T01:02:03Z",
"fileSize": 10495,
"sourceModifiedDate": "2021-03-09T08:49:36.035Z",
"link": {
"type": "bill",
"id": "234"
}
}
]
}