GetRecordByID

getRecordbyID 方法 - 对比

用途

获取特定记录的详细信息。

请求URL

版本 1.0:

https://crm.zoho.com.cn/crm/private/xml/Leads/getRecords?authtoken=AuthToken&scope=crmapi&id=RecordID

版本 2.0:

URL: https://www.zohoapis.com.cn/crm/v2/Leads/1386586000002572002

Method: GET

Header: Authorization=Zoho-oauthtoken {oauth_token}

请求参数

版本 1.0版本 2.0
authtoken=****Authorization=Zoho-oauthtoken ***** - 作为一个 Header
scope=crmapiN/A
idID 在请求URL中给出。例如: https://www.zohoapis.com.cn/crm/v2/Leads/1386586000002572002
idsN/A
newFormatN/A
versionN/A
 

备注:

  • V 1.0 API中的每一行()都相当于V 2.0 API响应中的每个JSON 对象

样本响应:

+
版本 1.0 响应版本 2.0 响应
<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/crm/private/xml/Leads/getRecordById">
<result>
<Leads>
<row no="1">
<FL val="LEADID">1386586000002572002</FL>
<FL val="SMOWNERID">1386586000000078001</FL>
<FL val="Lead Owner"><![CDATA[Bruce Wills]]></FL>
<FL val="Last Name"><![CDATA[email check1]]></FL>
<FL val="Annual Revenue"><![CDATA[0]]></FL>
<FL val="SMCREATORID">1386586000000078001</FL>
<FL val="Created By"><![CDATA[Bruce Wills]]></FL>
<FL val="MODIFIEDBY">1386586000000078001</FL>
<FL val="Modified By"><![CDATA[Bruce Wills]]></FL>
<FL val="Created Time"><![CDATA[2018-03-26 12:46:11]]></FL>
<FL val="Modified Time"><![CDATA[2018-03-27 10:24:19]]></FL>
<FL val="Full Name"><![CDATA[email check1]]></FL>
<FL val="Email Opt Out"><![CDATA[false]]></FL>
<FL val="Currency"><![CDATA[INR]]></FL>
<FL val="Exchange Rate"><![CDATA[1.000000000]]></FL>
<FL val="Last Activity Time"><![CDATA[2018-03-27 10:24:19]]></FL>
<FL val="Score"><![CDATA[0]]></FL>
<FL val="Positive Score"><![CDATA[0]]></FL>
<FL val="Negative Score"><![CDATA[0]]></FL>
<FL val="Checkbox 1"><![CDATA[false]]></FL>
<FL val="Auto-Number 1"><![CDATA[LEAD49N]]></FL>
<FL val="Formula 1"><![CDATA[0]]></FL>
<FL val="Positive Touch Point Score"><![CDATA[0]]></FL>
<FL val="Touch Point Score"><![CDATA[0]]></FL>
<FL val="Negative Touch Point Score"><![CDATA[0]]></FL>
<FL val="Tag"><![CDATA[tag1,tag2,tag3]]></FL>
</row>
</Leads>
</result>
</response>
{
  "data": [
   {
    "Owner": {
     "name": "Bruce Wills",
     "id": "1386586000000078001"
    },
    "Company": null,
    "Email": null,
    "$currency_symbol": "₹",
    "Single_Line_2": null,
    "Visitor_Score": null,
    "Total_Quantity": null,
    "Last_Activity_Time": "2018-03-27T10:24:19+05:30",
    "Industry": null,
    "$converted": false,
    "$process_flow": false,
    "URL_1": null,
    "Exchange_Rate": 1,
    "Date_1": null,
    "Currency": "INR",
    "Street": null,
    "Zip_Code": null,
    "id": "1386586000002572002",
    "$approved": true,
    "Grand_Total": null,
    "$approval": {
     "delegate": false,
     "approve": false,
     "reject": false,
     "resubmit": false
    },
    "Days_Visited": null,
    "First_Visited_URL": null,
    "Negative_Touch_Point_Score": 0,
    "Created_Time": "2018-03-26T12:46:11+05:30",
    "$followed": false,
    "$editable": true,
    "City": null,
    "No_of_Employees": null,
    "Positive_Touch_Point_Score": 0,
    "Number_1": null,
    "Score": 0,
    "Negative_Score": 0,
    "State": null,
    "Email_1": null,
    "Country": null,
    "Phone_1": null,
    "Last_Visited_Time": null,
    "Multi_Select_1": [],
    "Created_By": {
     "name": "Bruce Wills",
     "id": "1386586000000078001"
    },
    "Annual_Revenue": 0,
    "Secondary_Email": null,
    "Checkbox_1": false,
    "Currency_1": null,
    "Touch_Point_Score": 0,
    "Positive_Score": 0,
    "Description": null,
    "Decimal_1": null,
    "Multi_Line_1": null,
    "Number_Of_Chats": null,
    "Average_Time_Spent_Minutes": null,
    "Salutation": null,
    "First_Name": null,
    "Full_Name": "email check1",
    "Lead_Status": null,
    "Modified_By": {
     "name": "Bruce Wills",
     "id": "1386586000000078001"
    },
    "Email_Opt_Out": false,
    "Designation": null,
    "Modified_Time": "2018-03-27T10:24:19+05:30",
    "$converted_detail": {},
    "Mobile": null,
    "First_Visited_Time": null,
    "Last_Name": "email check1",
    "Layout": {
     "name": "Standard",
     "id": "1386586000000343003"
    },
    "Auto_Number_1": "LEAD49N",
    "Referrer": null,
    "Lead_Source": null,
    "Formula_1": 0,
    "Tag": [
     {
      "name": "tag1",
      "id": "1386586000002075001"
     },
     {
      "name": "tag2",
      "id": "1386586000002573001"
     },
     {
      "name": "tag3",
      "id": "1386586000002573002"
     }
    ]
   }
  ]
 }

还是没有找到您要寻找的内容?

写信给我们:support-crm@zohocorp.com.cn