<div dir="ltr">Hi lajeesh,<div><br></div><div>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().</div><div><br></div><div><div><img src="cid:ii_ki8yz1ew0" alt="Screenshot from 2020-12-03 20-27-19.png" width="503" height="314"><br></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 1, 2020 at 8:11 PM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/12/2020 14:26, lajeesh k wrote:<br>
> Hi,<br>
> <br>
> How can I retrieve documents attachment details with webservice.<br>
> I am aware of vtws_file_retrieve method . But it needs attachment id.<br>
> I will have document record id only<br>
<br>
IIRC, I think you will need to retrieve the Document first. This will <br>
contain the attachment_id.<br>
<br>
Also, does this help?<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/issues/1278" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/issues/1278</a><br>
<br>
Al<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>