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 NoteName | 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-10-19T03:38:45Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-10-19T03:38:45Z", "CreateDate": "2025-10-19T03:38:45Z", "DisplayDate": "2025-10-19T03:38:45Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "b2223f40-8175-4622-8a53-452a715547f0", "ManageUserID": "73e4a444-7575-4fd1-9112-4544d4a0d802", "ManageUserName": "sample string 9", "CreateUserID": "5df074be-dfc7-4072-bdf4-edf3d8ecfb95", "CreateUserName": "sample string 11", "EditUserID": "37d8e0b7-c5dd-4d4b-b086-6917072054da", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "be95b6d9-f857-41c7-8d41-2889685e28f7", "100c77ef-566c-459e-ae46-d05fb959c5d3" ], "Companies": [ "bea7b3b8-35e7-4cb7-98ba-17694e4331bf", "630be659-1bcd-4b0a-a8c9-7528f2d061c2" ], "Groups": [ "cd635f15-94b5-45d4-b226-fabfc9072d57", "0da25c87-fba6-4f57-9841-77c7ae19b668" ], "Opportunities": [ "bb6826f7-7507-47de-9c88-2c0c4be92115", "2a12f6fc-c4d0-4638-aa09-cc96f5d43e0c" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2025-10-19T03:38:45Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-10-19T03:38:45Z", "CreateDate": "2025-10-19T03:38:45Z", "DisplayDate": "2025-10-19T03:38:45Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "b2223f40-8175-4622-8a53-452a715547f0", "ManageUserID": "73e4a444-7575-4fd1-9112-4544d4a0d802", "ManageUserName": "sample string 9", "CreateUserID": "5df074be-dfc7-4072-bdf4-edf3d8ecfb95", "CreateUserName": "sample string 11", "EditUserID": "37d8e0b7-c5dd-4d4b-b086-6917072054da", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "be95b6d9-f857-41c7-8d41-2889685e28f7", "100c77ef-566c-459e-ae46-d05fb959c5d3" ], "Companies": [ "bea7b3b8-35e7-4cb7-98ba-17694e4331bf", "630be659-1bcd-4b0a-a8c9-7528f2d061c2" ], "Groups": [ "cd635f15-94b5-45d4-b226-fabfc9072d57", "0da25c87-fba6-4f57-9841-77c7ae19b668" ], "Opportunities": [ "bb6826f7-7507-47de-9c88-2c0c4be92115", "2a12f6fc-c4d0-4638-aa09-cc96f5d43e0c" ] } } ]