getModules 方法 - 对比
用途
从Zoho CRM帐户检索所有模块。
请求URL
版本 1.0:
https://crm.zoho.com.cn/crm/private/xml/Info/getModules?authtoken=AuthToken&scope=crmapi
版本 2.0:
URL: https://www.zohoapis.com.cn/crm/v2/settings/modules
Method: GET
Header: Authorization=Zoho-oauthtoken {oauth_token}
请求参数
版本 1.0 | 版本 2.0 |
---|---|
authtoken=**** | Authorization=Zoho-oauthtoken ***** - 作为一个 Header。 |
scope=crmapi | N/A |
type | N/A |
样本响应:
版本 1.0 响应 | 版本 2.0 响应 |
---|---|
<?xml version="1.0" encoding="UTF-8" ?> <response uri="/crm/private/xml/Info/getModules"> <result> <row no="1" id="1386586000000700001" pl="SalesInbox" sl="SalesInbox" gt="1">SalesInbox</row> .. .. </result> </response> | { "modules": [ { "global_search_supported": false, "visibility": 1, "convertable": false, "editable": false, "deletable": false, "profiles": [ { "name": "Administrator", "id": "1386586000000026011" }, { "name": "Standard", "id": "1386586000000026014" }, { "name": "Testing", "id": "1386586000000105017" }, { "name": "Moderators", "id": "1386586000001038001" }, ] "display_field": null, "creatable": false, "web_link": null, "sequence_number": 1, "singular_label": "SalesInbox", "modified_time": null, "viewable": true, "api_supported": false, "plural_label": "SalesInbox", "api_name": "SalesInbox", "modified_by": null, "generated_type": "default", "scoring_supported": false, "arguments": [], "id": "1386586000000700001", "module_name": "SalesInbox", "business_card_field_limit": 0, "parent_module": {}, }, ... ... ] } |