Modify Project API
This API is used to modify any project
Request URL:
https://people.zoho.com/people/api/forms/<inputType>/<formLinkName>/updateRecord?recordId=<recordId>&inputData=<inputData>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.forms.ALL
OR
ZOHOPEOPLE.forms.UPDATE
Possible Operation Types
ALL - Complete access to data
UPDATE - Only to modify data
Request parameter:
Parameter | Description |
*formLinkName | Specify as P_TimesheetJobsList |
*inputType | xml or json |
*recordId | Specifies the user record ID of the record being edited |
*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'} |
Note:
- Please refer API reference or Use the Fetch Component API to get the list of form components.
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/P_TimesheetJobsList/updateRecord?recordId=9000000317003&inputData={"Project_Name":"Website Designing","ClientId":"9000000130027","ProjectCost":"1000",
"ProjectHead":"9000000019539","ProjectHeadRate":"300","ProjectManager":"9000000019537;9000000019535","ProjectManagerRate":"200;200","ProjectUsers":"9000000013253;9000000019531","ProjectUserRate":"100;100","departmentIds":"9000000013669;9000000019671"}
Copiedhttps://people.zoho.com/people/api/forms/xml/P_TimesheetJobsList/updateRecord?recordId=9000000317003&inputData=<Request><Record><field name="Project_Name">Website Designing</field><field name="ClientId">9000000130027</field><field name="ProjectCost">1000</field><field name="ProjectHead">9000000019539</field><field name="ProjectHeadRate">300</field><field name="ProjectManager">9000000019537;9000000019535</field><field name="ProjectManagerRate">200;200</field><field name="ProjectUsers">9000000019533;9000000019531</field><field name="ProjectUserRate">100;100</field><field name="departmentIds">9000000013669;9000000019671</field></Record></Request>
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Sample Response
Copied{
"response": {
"result": {
"pkId": "9000000317003",
"message": "Successfully Updated"
},
"message": "Data updated successfully",
"uri": "/api/forms/json/P_TimesheetJobsList/updateRecord",
"status": 0
}
}
Copied<?xml version=""1.0"" encoding=""UTF-8""?>
<response uri=""/api/forms/xml/P_TimesheetJobsList/updateRecord"">
<status>0</status>
<message>Data updated successfully</message>
<result>
<message>Successfully Updated</message>
</result>
</response>