Retrieve image links
Hi there
I am trying to get the links to images saved in our projects. I can find the FILE_IDs which relate to the project then call that using https://api.insightly.com/v3.1/FileAttachments/FILE_ID.
Unfortunately this command returns the contents of image file and I can't use it in my project.. Instead I need the link to the file on AWS, how would I find this link given the FILE_ID?
Thanks in advance
Comments
Hi there,
Images and there field value(The file reference mentioned) have their own endpoint in V3.1:
https://api-insightlynext.com/v3.1/Projects/:id/ImageField/:fieldName
Try using this with the same parameters and you should be all set!
Hi Alex
Thank you for your response. I'm trying to get the images as you suggest but get a no content 204 response. When I open the project in Insightly the image is definitely there. Any ideas?
Here is the format I'm using:
https://api.insightly.com/v3.1/Projects/1234567/ImageField/Image_Reference_Image__c
Also, api.insightlynext.com seems to be an invalid domain?
Hi Michael,
Since you are a paid user and have created a ticket for this in our support system, I will respond to you there to allow for information sharing that would not be appropriate in a public forum.
Once this issue gets solved I will post the solution here
Also, please change this thread to Unanswered
Please sign in to leave a comment.