MngAddNote¶
Creates a CRM note. The note is normally linked to customer_id.
Request¶
{
"command": "MngAddNote",
"extID": "1",
"data": {
"customer_id": 1001,
"manager_id": 10,
"type": 0,
"source": 0,
"ast_json": {
"type": "div",
"props": {},
"children": []
},
"text": "Customer called back"
}
}
Request Data¶
| Field | Type | Required | Description |
|---|---|---|---|
customer_id |
int | No | Linked customer id |
lead_id |
int | No | Optional linked lead id |
login |
int | No | Optional linked account login |
manager_id |
int | No | Responsible manager |
type |
int | No | 0 note, 1 record |
source |
int | No | 0 manual, 1 system, 2 import |
ast_json |
object/array/string | No | AST message body |
text |
string | No | Plain preview/search text |
files_json |
object/array/string | No | Optional files payload |
Response Data¶
{
"note": {
"id": 1,
"customer_id": 1001,
"text": "Customer called back"
}
}