[Vtigercrm-developers] Retrieve documents attachment details with webservice

Uma S uma.s at vtiger.com
Thu Dec 3 15:05:34 GMT 2020


Hi lajeesh,

You need to first retrieve the document record details which contains
'imageattachmentids', which need to be used to fetch the attachment details
using vtws_file_retrieve api().

[image: Screenshot from 2020-12-03 20-27-19.png]


On Tue, Dec 1, 2020 at 8:11 PM Alan Lord <alanslists at gmail.com> wrote:

> On 01/12/2020 14:26, lajeesh k wrote:
> > Hi,
> >
> > How can I retrieve documents attachment details with webservice.
> > I am aware of vtws_file_retrieve method . But it needs attachment id.
> > I will have document record id only
>
> IIRC, I think you will need to retrieve the Document first. This will
> contain the attachment_id.
>
> Also, does this help?
>
> https://code.vtiger.com/vtiger/vtigercrm/issues/1278
>
> Al
> _______________________________________________
> http://www.vtiger.com/



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201203/5b9e19f5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2020-12-03 20-27-19.png
Type: image/png
Size: 114383 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201203/5b9e19f5/attachment-0001.png>


More information about the vtigercrm-developers mailing list