Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Attachment endpoint documentation suggestion

Started by Stuart Kemp -   in API Endpoints

The attachment endpoint documentation mentions getting attachment content by filename, e.g.:

https://api.xero.com/api.xro/2.0/{Endpoint}/{Guid}/Attachments/{Filename}

It might be useful to add the newer method of getting attachments, by ID, e.g.:

https://api.xero.com/api.xro/2.0/{Endpoint}/{Guid}/Attachments/{AttachmentID}

I don't think the documentation is supposed to be exhaustive but thought I would mention it.