分类

创建新联系人

POST

/api/v2/contact

权限:contact

Header
字段类型描述
Content-Type字符串应用或JSON
参数
字段类型描述
name字符串
numbers对象数组类似:[{“type”:String,”number”:String},…]
emails对象类似 [{“type”:String,”email”:String},…]
tag_ids字符串数组[tagId,tagId…]




请求样例
{     "name": "Cai",     "numbers": [         {             "type": "Company",             {
     "name": "Cai",
     "numbers": [
         {
             "type": "Company",
             "number": "17314141431"
         },
         {
             "type": "School",
             "number": "16213131313"
         }
     ],
     "emails": [
         {
             "type": "Company",
             "email": "[email protected]"
         }
     ],
     "tag_ids": [
         "d3ccb1b893d0352124555151ddac05a6"
     ]
 }
成功 200
字段类型描述
id字符串




成功响应
HTTP/1.1 200 OK
 {
      "ok": true,
      "id": "d3ccb1b893d0352124555151ddc5a923",
      "rev": "1-99a8bf4969373534f23ff63e9981e009"
  }

标签:
上一页 获取全部联系人