提取表单 API

目的

此 API 用于获取 Zoho People 帐户中可用的表单及其详情的列表。

请求 URL

https://people.zoho.com.cn/people/api/forms?authtoken=<token>

请求参数

authtoken 指定身份验证令牌

示例

请求 URL:

https://people.zoho.com.cn/people/api/forms?authtoken=7d985878998943g4j09h43dd0b167dda34b

XML 响应:

<Response Status="1">
<Forms>
<Form>
<isVisible>true</isVisible>
<displayName>Employee</displayName>
<componentId>6000000015673</componentId>
<iscustom>false</iscustom>
<formLinkName>employee</formLinkName>
</Form>
<Form>
<isVisible>true</isVisible>
<displayName>Department</displayName>
<componentId>6000000015675</componentId>
<iscustom>false</iscustom>
<formLinkName>department</formLinkName>
</Form>
<Form>
<isVisible>true</isVisible>
<displayName>Designation</displayName>
<componentId>6000000015677</componentId>
<iscustom>false</iscustom>
<formLinkName>designation</formLinkName>
</Form>
<Form>
<isVisible>true</isVisible>
<displayName>Company Policy</displayName>
<componentId>6000000015681</componentId>
<iscustom>false</iscustom>
<formLinkName>companypolicy</formLinkName>
</Form>
<Form>
<isVisible>true</isVisible>
<displayName>Leave</displayName>
<componentId>6000000015685</componentId>
<iscustom>false</iscustom>
<formLinkName>leave</formLinkName>
</Form>
</Forms>
</Response>

JSON 响应:

[{"Forms":{"Form":[{"isVisible":"true","displayName":"Employee","componentId":"6000000015673","iscustom":"false","formLinkName":"employee"},{"isVisible":"true","displayName":"Department","componentId":"6000000015675","iscustom":"false","formLinkName":"department"},{"isVisible":"true","displayName":"Designation","componentId":"6000000015677","iscustom":"false","formLinkName":"designation"},{"isVisible":"true","displayName":"Company Policy","componentId":"6000000015681","iscustom":"false","formLinkName":"companypolicy"},{"isVisible":"true","displayName":"Leave","componentId":"6000000015685","iscustom":"false","formLinkName":"leave"}]}}]

错误代码

请参阅错误代码