Get Fields of Form API
Use Fetch Component API to retrieve the list of field components available in a form with ID.
Request URL:
https://people.zoho.com/people/api/forms/<formLinkName>/components?
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.forms.ALL
OR
ZOHOPEOPLE.form.READ
Possible Operation Types:
ALL - Complete access to data
READ - Read form data
Request Parameters:
formLinkName | Refer Appendix Point 1, to know how to get the formLinkname of the form |
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.
Request
Copiedhttps://people.zoho.com/people/api/forms /Travel_Request/components?
Header
CopiedAuthorization:Zoho-oauthtoken1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf
Response
Copied{"response":{"result":[{"comptype":"Lookup","Options":{"Option4":{"Value":" 1003 - Amit","Id":"112674000000221023"},"Option3":{"Value":" 1002 - Aditya","Id":"112674000000221019"},"Option2":{"Value":" 1001 - Abhishek","Id":"112674000000221009"},"Option1":{"Value":" 1 - santhoshkumar.ap+lt0","Id":"112674000000214005"},"Option10":{"Value":" 1009 - Deepak","Id":"112674000000221047"},"Option11":{"Value":" 1010 - Tanya","Id":"112674000000221051"},"Option12":{"Value":" 1011 - Anjali","Id":"112674000000221055"},"Option13":{"Value":" 012 - steves","Id":"112674000000235003"},"Option9":{"Value":" 1008 - Shyam","Id":"112674000000221043"},"Option8":{"Value":" 1007 - Ankit","Id":"112674000000221039"},"Option14":{"Value":" 015 - steves","Id":"112674000000235031"},"Option7":{"Value":" 1006 - Yash","Id":"112674000000221035"},"Option15":{"Value":" 014 - steves","Id":"112674000000235053"},"Option6":{"Value":" 1005 - Rohit","Id":"112674000000221031"},"Option5":{"Value":" 1004 - Mahesh","Id":"112674000000221027"}},"description":"","labelname":"Employee_ID","ismandatory":false,"displayType":"Pick_List","ReferedFormId":112674000000019673,"isPrimary":true,"displayname":"Employee ID","autofillvalue":"","formcomponentid":112674000000234461,"ReferedFormName":"P_Employee","ReferedFieldId":112674000000020183,"ReferedFieldName":"EmployeeID"},{"comptype":"Date","ismandatory":false,"displayname":"Travel Date","autofillvalue":"","description":"","formcomponentid":112674000000234485,"labelname":"Travel_Date"}],"message":"Data fetched successfully","uri":"/api/forms/Travel_Request/components","status":0}}