Fetch Single Record API
This API will display the record of a specific form indexed using a Record ID.
Request URL:
https://people.zoho.com/people/api/forms/<formLinkName>/getDataByID?recordId=261091000000049003
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.forms.ALL
OR
ZOHOPEOPLE.forms.READ
Possible Operation Types:
ALL - Complete access to data
READ - Read form data
Request Parameters:
formLinkName | To get formLinkName, refer appendix page. |
recordId | Specifies the record Id of the record being fetched. The record Id can be identified using the bulk records API. |
Threshold Limit: 400 requests | Lock period: 5 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.
XML Example
Copiedhttps://people.zoho.com/people/api/forms/department/getDataByID?recordId=261091000000049003
Copiedhttps://people.zoho.com/people/api/forms/department/getDataByID?recordId=261091000000049003
Request
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Copied{
"response": {
"message": "Data fetched successfully",
"result": [
{
"Parent_Department.ID": 177402000000969127,
"Department_Lead": "Karan John 1",
"Department_Lead.ID": 177402000000034203,
"Email_1": "test@g.com",
"Parent_Department": "Product Support",
"Department": "Chat Support",
"Single_Line_2": "test1",
"MailAlias": "chatsupport@example.com"
}
],
"status": 0,
"uri": "/api/forms/department/getDataByID"
}
}
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Copied<?xml version="1.0" encoding="UTF-8"?>
<response uri="/api/forms/department/getDataByID">
<status>0</status>
<message>Data fetched successfully</message>
<result>
<field name="Parent_Department.ID">177402000000969127</field>
<field name="Department_Lead">Karan John 1</field>
<field name="Department_Lead.ID">177402000000034203</field>
<field name="Email_1">test@g.com</field>
<field name="Parent_Department">Product Support</field>
<field name="Single_Line_2">test1</field>
<field name="Department">Chat Support</field>
<field name="MailAlias">chatsupport@example.com</field>
</result>
</response>
Response