How to retrieve Job Note Attachments
Posted: Sun Aug 20, 2023 9:59 pm
When I retrieve a Job note from
sometimes they have attachments in the format:
How can I retrieve the base64 of this attachment via the API? I can't find any mention of this in the docs, and I've tried "/jobs/21179/attachments/files/SomeLongId" but that is 404
If I log into the website I can download it from
but I need to retrieve it via the API...
Code: Select all
/jobs/21179/notes/448Code: Select all
{
"_href": "/common/getAttachment.php?location=SomeLongId&filename=Job_No_21179.pdf&download=0&thumbnail=0&export=0&v=1",
"FileName": "Job_No_21179.pdf"
},
If I log into the website I can download it from
Code: Select all
https://mysubdomain.simprosuite.com/common/getAttachment.php?location=