MngGetNotesByCustomerId¶
Returns notes for a customer card. This is the only notes list method in the first version.
Search is limited to the plain text field through like.
Request¶
{
"command": "MngGetNotesByCustomerId",
"extID": "1",
"data": {
"customer_id": 1001,
"limit": 100,
"offset": 0,
"like": "called"
}
}
Request Data¶
| Field | Type | Required | Description |
|---|---|---|---|
customer_id |
int | Yes | Customer id |
limit |
int | Yes | Page size |
offset |
int | Yes | Page offset |
like |
string | No | Search text applied to text LIKE '%value%' |
Response Data¶
{
"rows": [
{
"id": 1,
"customer_id": 1001,
"text": "Customer called back"
}
],
"count": 1
}
Rows are ordered by created_time DESC, id DESC.