API Guide > API Methods > updateRecords Method

updateRecords Method

Tags:  

Purpose

You can use the updateRecords method to update or modify the records in Zoho CRM.

Request URL

  • XML: http:// crm.zoho.com/crm/private/xml/Leads/updateRecords?apikey=[API Key]&ticket=[Ticket]
  • JSON: http:// crm.zoho.com/crm/private/json/Leads/updateRecords?apikey=[API Key]&ticket=[Ticket]

Examples

To update records in Zoho CRM, follow the below steps:

  1. The URL should be as given below:
    http://crm.zoho.com/crm/private/xml/Leads/updateRecords
  2. The parameters should be as given below:
    • ticket: Ticket ID
    • apikey: Key you got from Zoho CRM upon request.
    • xmlData: This is a XML string and the format should be same as how get records in XML format during your fetch API.
    • id: id of the record to be updated

XML data format: http://crm.zoho.com/crm/private/xml/Leads/updateRecords

  • ticket=xy4gr112345fgg
  • apikey=sbdjEDBDJ1323
  • xmlData= as mentioned below
  • id = 1000000019001
<Leads>
<row no="1">
<fieldlabel value="Lead Source">Web Download</fieldlabel>
<fieldlabel value="First Name">contacto 1</fieldlabel>
<fieldlabel value="Last Name">apellido</fieldlabel>
<fieldlabel value="Email">testing@testing.com</fieldlabel>
<fieldlabel value="Title">Manager</fieldlabel>
<fieldlabel value="Phone">1234567890</fieldlabel>
<fieldlabel value="Home Phone">0987654321</fieldlabel>
<fieldlabel value="Other Phone">1212211212</fieldlabel>
<fieldlabel value="Fax">02927272626</fieldlabel>
<fieldlabel value="Mobile">292827622</fieldlabel>
</row>
</Leads>

Note: Use the POST method to pass these parameters instead of GET method.


Other Methods

Existing Methods
New Methods (From Oct 22, 2009):

Related Topics



 RSS of this page


New to Zoho CRM?  Sign up for Free!  or Request a Demo
 
© 2009, Zoho Corp. All rights reserved.