批量删除备注
目的
用来批量删除备注。
请求URL
https://www.zohoapis.com.cn/crm/v2/Notes?ids={Entity_ID1, Entity_ID2, Entity_ID3,..}
实体ID - 备注的唯一ID
请求方法
DELETE
范围
scope=ZohoCRM.modules.notes.{operation_type}
可能的操作类型 |
---|
ALL - 完全访问备注 WRITE - 编辑备注数据 DELETE - 删除备注数据 |
参数
参数名称 | 数据类型 | 描述 |
---|---|---|
ids (必填) | 数组 | 指定要删除备注的唯一ID。 |
示例请求
curl "https://www.zohoapis.com.cn/crm/v2/Notes?ids=2883756000000268003,2883756000000987654,2883756000000736435"
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-X DELETE
示例响应
{
"data": [
{
"code": "SUCCESS",
"details": {
"id": "2883756000000308033"
},
"message": "record deleted",
"status": "success"
},
{
"code": "SUCCESS",
"details": {
"id": "2883756000000308027"
},
"message": "record deleted",
"status": "success"
},
{
"code": "SUCCESS",
"details": {
"id": "2883756000000308021"
},
"message": "record deleted",
"status": "success"
}
]
}