Add products to existing potentials
Hi. I´m trying to add products to potentials using updateRelatedRecords API method. The url is:
https://crm.zoho.com/crm/private/xml/Potentials/updateRelatedRecords
The request data is following:
{'authtoken': 'be00fd0cdd8b1566c4a2d2cdbe24ad34', 'relatedModule': 'Products', 'xmlData': '<Potentials><row no="1"><FL val="Product Details"><product no="1"><FL val="Product Id">2178603000000375715</FL><FL val="Product Name"><![CDATA[Pasta de Tomate HB 29% NTSS - Tote Bin 1330 Kls - MS]]></FL><FL val="Unit Price">0</FL><FL val="Quantity">0</FL><FL val="List Price">0</FL><FL val="Total">0</FL></product></FL></row></Potentials>', 'newFormat': '1', 'scope': 'crmapi', 'id': '2178603000000550669'}
However, I receive the following error message when I run my code:
<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/crm/private/xml/Potentials/updateRelatedRecords"><error><code>4832</code><message>Problem occured while processing the request</message></error></response>
I've checked the
error codes page and 4832 is related to assign text value to an integer field, but I don't see where is my problem.