Update Record API

Purpose:

This API is used for modifying the field values of the specified record.

Request URL:

https://people.zoho.com/people/api/forms/<inputType>/<formLinkName>/updateRecord?inputData=<inputData>&recordId=<recordId>

Header:

Authorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf

Scope

scope = ZOHOPEOPLE.forms.ALL
or
scope = ZOHOPEOPLE.forms.UPDATE

Possible Operation Types:

ALL - Full access to data

UPDATE - Update form data

Request Parameters:

formLinkNameForm Lable Name. To get formLinkName, refer appendix
inputTypexml or json
recordIdSpecifies the record Id of the record being fetched. The record Id can be identified using the 
bulk records API.

 

inputData

XML input:

<request><Record>
<field name="Labelname">value</field>
<field name="Labelname1">value1</field>
<field name="Labelname2">value2</field>
</Record></Request>

JSON input:

{​LabelName:'value',Labelname1:'value1','Labelname2:'value2'}

 Threshold Limit:  300 requests | Lock period: 5 minutes

Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.

Sample Request

Copiedhttps://people.zoho.com/people/api/forms/json/employee/updateRecord?inputData={Mobile:'9756786578', Date_of_birth:'25-Mar-2019'}&recordId=479732000000162407

Header

CopiedAuthorization:Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf

Sample Response

Copied{"response":{"result":{"pkId":"479732000000162407","message":"Successfully Updated"},"message":"Data updated successfully","uri":"/api/forms/json/employee/updateRecord","status":0}}