deleteRecords

deleteRecords-Methode – Vergleich

Zweck

Die ausgewählten Datensätze löschen.

Anfrage-URL

Version 1.0:

https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=AuthToken&scope=crmapi&id=Record ID

Version 2.0:

URL: https://www.zohoapis.com/crm/v2/Leads/{record_id}

Methode: DELETE

Header: Authorization=Zoho-oauthtoken {oauth_token}

Anfrageparameter

Version 1.0Version 2.0
authtoken=****Authorization=Zoho-oauthtoken ***** - als Header.
scope=crmapiK. A.
IDID ist in der Anfrage-URL anzugeben.
 

Beispiel für API-Anfrage:

Anfrage in Version 1.0Anfrage in Version 2.0
https://crm.zoho.com/crm/private/xml/Leads/deleteRecords?authtoken=AuthToken&scope=crmapi&id=Record IDhttps://www.zohoapis.com/crm/v2/Leads/{record_id}

Beispielantworten:

Antwort in Version 1.0Antwort in Version 2.0
<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/crm/private/xml/Leads/deleteRecords">
<result>
<code>5000</code>
<message>Record Id(s) : 1386586000002575001,Record(s) deleted successfully</message>
</result>
</response>
{
  "data": [
    {
     "code": "SUCCESS",
     "details": {
      "id": "1386586000002576001"
     },
     "message": "record deleted",
     "status": "success"
    }
  ]
}

Share this post : FacebookTwitter

Finden Sie immer noch nicht, wonach Sie suchen?

Schreib uns: support@zohocrm.com