GET api/Notes/{id}?mainEntityType={mainEntityType}
Get all Histories linked to a main entity record. Supported Headers: Filter, Take, Skip, Sort, SortDesc, SelectField, IncludeLink, DetailFormat
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of the main entity record |
globally unique identifier |
Required |
| mainEntityType | MainEntityType |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Note| Name | Description | Type | Additional information |
|---|---|---|---|
| HasAttachment | boolean |
None. |
|
| Attachment | Attachment |
None. |
|
| EditDate |
SQL Column Name: [EDIT_DATE] |
date |
None. |
| CreateDate |
SQL Column Name: [CREATE_DATE] |
date |
None. |
| DisplayDate |
SQL Column Name: [NOTE_DATE] |
date |
None. |
| NoteText |
SQL Column Name: [NOTE] |
string |
None. |
| NoteTypeID |
SQL Column Name: [NOTETYPEID] |
integer |
None. |
| ID |
SQL Column Name: [NOTEID] |
globally unique identifier |
None. |
| ManageUserID | globally unique identifier |
None. |
|
| ManageUserName |
SQL Column Name: [RECORD_MANAGER] |
string |
None. |
| CreateUserID | globally unique identifier |
None. |
|
| CreateUserName |
SQL Column Name: [RECORD_CREATOR] |
string |
None. |
| EditUserID | globally unique identifier |
None. |
|
| EditUserName |
SQL Column Name: [LAST_EDITED_BY] |
string |
None. |
| IsPrivate |
SQL Column Name: [PRIVATE] |
boolean |
None. |
| LinkedEntities | LinkedEntities |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2025-11-23T13:44:25Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-11-23T13:44:25Z",
"CreateDate": "2025-11-23T13:44:25Z",
"DisplayDate": "2025-11-23T13:44:25Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "44cc6728-1669-457c-b0c8-f660f65d0a65",
"ManageUserID": "402db59f-d476-4853-a8dd-6e0ce087a6a8",
"ManageUserName": "sample string 9",
"CreateUserID": "2fcc67c2-fad7-45a3-a386-9e58ae388a59",
"CreateUserName": "sample string 11",
"EditUserID": "3259d5ff-6cda-433c-9950-8963d6f05ced",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"fae87726-4102-4328-8d3a-fd9144cea171",
"c59b4d9d-29f7-4279-9f10-95554ebfc1b5"
],
"Companies": [
"164ced56-7d90-4482-a3bb-96c43c3bdd59",
"c553a86b-e988-448f-9d14-6c8ff76589b0"
],
"Groups": [
"b30348c4-7647-4c6e-805b-d095763942a2",
"b9b82df4-e6ea-4ae2-8161-ecaa4566cdf8"
],
"Opportunities": [
"4fcf1c86-39c8-40bd-a96f-a0b9c0760222",
"ae01ec41-3cdd-4515-adb9-56e08972977c"
]
}
},
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2025-11-23T13:44:25Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-11-23T13:44:25Z",
"CreateDate": "2025-11-23T13:44:25Z",
"DisplayDate": "2025-11-23T13:44:25Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "44cc6728-1669-457c-b0c8-f660f65d0a65",
"ManageUserID": "402db59f-d476-4853-a8dd-6e0ce087a6a8",
"ManageUserName": "sample string 9",
"CreateUserID": "2fcc67c2-fad7-45a3-a386-9e58ae388a59",
"CreateUserName": "sample string 11",
"EditUserID": "3259d5ff-6cda-433c-9950-8963d6f05ced",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"fae87726-4102-4328-8d3a-fd9144cea171",
"c59b4d9d-29f7-4279-9f10-95554ebfc1b5"
],
"Companies": [
"164ced56-7d90-4482-a3bb-96c43c3bdd59",
"c553a86b-e988-448f-9d14-6c8ff76589b0"
],
"Groups": [
"b30348c4-7647-4c6e-805b-d095763942a2",
"b9b82df4-e6ea-4ae2-8161-ecaa4566cdf8"
],
"Opportunities": [
"4fcf1c86-39c8-40bd-a96f-a0b9c0760222",
"ae01ec41-3cdd-4515-adb9-56e08972977c"
]
}
}
]