创建备注

目的

用来添加新的备注。

请求URL

https://www.zohoapis.com.cn/crm/v2/Notes

请求方法

POST

范围

scope=ZohoCRM.modules.notes.{operation_type}

可能的操作类型
ALL - 完全访问备注
WRITE - 编辑备注数据
CREATE - 创建备注数据

示例请求

在这个请求中,"@newnote.json" 包含了示例输入数据。


				curl "https://www.zohoapis.com.cn/crm/v2/Notes"
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-d "@newnote.json"
-X POST			

示例输入

在输入中,指定备注模块的字段API名称以及相应的值。


				{
    "data": [
       {
            "Note_Title": "Contacted",
            "Note_Content": "Need to do further tracking",
            "Parent_Id": "412963000001376069",
            "se_module": "Leads"
        }
    ]
}			

示例响应


				{
    "data": [
       {
            "message": "record added",
            "details": {
                "created_by": {
                    "id": "410888000000086001",
                    "name": "Patricia Boyle"
                },
                "id": "410888000000737002",
                "modified_by": {
                    "id": "410888000000086001",
                    "name": "Patricia Boyle"
                },
                "modified_time": "2016-09-16T12:15:13+05:30",
                "created_time": "2016-09-16T12:15:13+05:30"
            },
            "status": "success",
            "code": "SUCCESS"
        }
    ]
}