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-12-14T09:13:31Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-12-14T09:13:31Z",
"CreateDate": "2025-12-14T09:13:31Z",
"DisplayDate": "2025-12-14T09:13:31Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "94a07db5-2d39-4713-bb53-048a475cc232",
"ManageUserID": "95715f6d-acac-4626-bd14-96c843019bb7",
"ManageUserName": "sample string 9",
"CreateUserID": "a5ef7cfb-2dd2-433a-a08b-0ba246eccb03",
"CreateUserName": "sample string 11",
"EditUserID": "a771b241-6871-4f82-a593-a022f454dc52",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"51f5bd71-4f01-4e95-9d1b-b89fb39e4dd6",
"69076005-06e8-4f21-99c5-0d655dc219d5"
],
"Companies": [
"ce9a5f92-92cc-43a5-b9d6-a7a443627ef9",
"9b21bc6b-25d9-4220-b667-8ef1732d3fbd"
],
"Groups": [
"37f9b4c2-e414-4a9c-9000-dc03179e67c5",
"886fa325-0cf5-45f1-ae90-30e631ee0989"
],
"Opportunities": [
"3bae5795-f45f-42c5-be24-bb86e864e12e",
"131199b6-a32c-4c11-be2c-e67e7a36efd8"
]
}
},
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2025-12-14T09:13:31Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-12-14T09:13:31Z",
"CreateDate": "2025-12-14T09:13:31Z",
"DisplayDate": "2025-12-14T09:13:31Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "94a07db5-2d39-4713-bb53-048a475cc232",
"ManageUserID": "95715f6d-acac-4626-bd14-96c843019bb7",
"ManageUserName": "sample string 9",
"CreateUserID": "a5ef7cfb-2dd2-433a-a08b-0ba246eccb03",
"CreateUserName": "sample string 11",
"EditUserID": "a771b241-6871-4f82-a593-a022f454dc52",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"51f5bd71-4f01-4e95-9d1b-b89fb39e4dd6",
"69076005-06e8-4f21-99c5-0d655dc219d5"
],
"Companies": [
"ce9a5f92-92cc-43a5-b9d6-a7a443627ef9",
"9b21bc6b-25d9-4220-b667-8ef1732d3fbd"
],
"Groups": [
"37f9b4c2-e414-4a9c-9000-dc03179e67c5",
"886fa325-0cf5-45f1-ae90-30e631ee0989"
],
"Opportunities": [
"3bae5795-f45f-42c5-be24-bb86e864e12e",
"131199b6-a32c-4c11-be2c-e67e7a36efd8"
]
}
}
]