API Documentation
NotesList Record’s Activities
Method: /notes/[record_id].[format]
Syntax:
https://[subdomain].salesbinder.com/api/2.0/notes/[record_id].json
HTTP Request Type: GETSample Returned JSON Data
1{
2 "count": "8",
3 "page": "1",
4 "pages": "1",
5 "notes": [
6 [
7 {
8 "id": 2976,
9 "note": "Added 1 unit to invoice #714 (variation: 126429).",
10 "pinned": false,
11 "event": true,
12 "record_id": "57609fd0-cfc4-4af4-904c-0adb6882ca98",
13 "context_id": 6,
14 "created": "2016-08-08T21:46:21+00:00",
15 "user": {
16 "id": "4d76bc2e-74a0-4d5a-ae47-7439b86a92d9",
17 "first_name": "Dean",
18 "last_name": "Johnson"
19 }
20 },
21 {
22 "id": 2974,
23 "note": "Manually adjusted Vancouver Warehouse quantity from 10 to 12 (id: 126429).",
24 "pinned": false,
25 "event": true,
26 "record_id": "57609fd0-cfc4-4af4-904c-0adb6882ca98",
27 "context_id": 6,
28 "created": "2016-08-08T18:48:14+00:00",
29 "user": {
30 "id": "4d76bc2e-74a0-4d5a-ae47-7439b86a92d9",
31 "first_name": "Dean",
32 "last_name": "Johnson"
33 }
34 },
35 {
36 "id": 2836,
37 "note": "Changed unit selling price from 500.00 to 540.00.",
38 "pinned": false,
39 "event": true,
40 "record_id": "57609fd0-cfc4-4af4-904c-0adb6882ca98",
41 "context_id": 6,
42 "created": "2016-06-15T04:13:10+00:00",
43 "user": {
44 "id": "4d76bc2e-74a0-4d5a-ae47-7439b86a92d9",
45 "first_name": "Dean",
46 "last_name": "Johnson"
47 }
48 }
49 ]
50 ]
51}
Sample Returned XML Data
1<response>
2 <note>
3 <id>2976</id>
4 <note>Added 1 unit to invoice #714 (variation: 126429).</note>
5 <pinned>0</pinned>
6 <event>1</event>
7 <record_id>57609fd0-cfc4-4af4-904c-0adb6882ca98</record_id>
8 <context_id>6</context_id>
9 <created>8/8/16, 9:46 PM</created>
10 <user>
11 <id>4d76bc2e-74a0-4d5a-ae47-7439b86a92d9</id>
12 <first_name>Dean</first_name>
13 <last_name>Johnson</last_name>
14 </user>
15 </note>
16 <note>
17 <id>2972</id>
18 <note>Manually adjusted quantity from 0 to 18.</note>
19 <pinned>0</pinned>
20 <event>1</event>
21 <record_id>57609fd0-cfc4-4af4-904c-0adb6882ca98</record_id>
22 <context_id>6</context_id>
23 <created>8/8/16, 6:40 PM</created>
24 <user>
25 <id>4d76bc2e-74a0-4d5a-ae47-7439b86a92d9</id>
26 <first_name>Dean</first_name>
27 <last_name>Johnson</last_name>
28 </user>
29 </note>
30 <note>
31 <id>2836</id>
32 <note>Changed unit selling price from 500.00 to 540.00.</note>
33 <pinned>0</pinned>
34 <event>1</event>
35 <record_id>57609fd0-cfc4-4af4-904c-0adb6882ca98</record_id>
36 <context_id>6</context_id>
37 <created>6/15/16, 4:13 AM</created>
38 <user>
39 <id>4d76bc2e-74a0-4d5a-ae47-7439b86a92d9</id>
40 <first_name>Dean</first_name>
41 <last_name>Johnson</last_name>
42 </user>
43 </note>
44</response>
Updated on February 2nd, 2017