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-07-14T21:49:34Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-07-14T21:49:34Z", "CreateDate": "2025-07-14T21:49:34Z", "DisplayDate": "2025-07-14T21:49:34Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "52d16f15-2b30-45c1-882b-60e9f59cb631", "ManageUserID": "624f736d-0f65-491d-89b0-777a6956f6e3", "ManageUserName": "sample string 9", "CreateUserID": "2f048986-92d1-4670-a463-a1c2fc47a3fc", "CreateUserName": "sample string 11", "EditUserID": "a7b3ef32-0912-4090-baa8-909c3cea28f1", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "10879dcc-ac72-4d78-8896-06106971de02", "8a98445a-c411-48fa-bb17-cd0b3050847a" ], "Companies": [ "183bb92a-34c6-4724-8083-76bca3140a27", "3272d14a-aaf5-4216-8448-8945606edda9" ], "Groups": [ "bbe2ae87-d92b-4a5f-89c4-223691af0cb6", "a7bbdb7c-e071-457a-ac75-ba35b2813721" ], "Opportunities": [ "a506e4e3-b35e-4d57-a7bb-24b3535850c9", "7a354bfc-2f98-41ad-9bb3-cf754709e0f0" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2025-07-14T21:49:34Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-07-14T21:49:34Z", "CreateDate": "2025-07-14T21:49:34Z", "DisplayDate": "2025-07-14T21:49:34Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "52d16f15-2b30-45c1-882b-60e9f59cb631", "ManageUserID": "624f736d-0f65-491d-89b0-777a6956f6e3", "ManageUserName": "sample string 9", "CreateUserID": "2f048986-92d1-4670-a463-a1c2fc47a3fc", "CreateUserName": "sample string 11", "EditUserID": "a7b3ef32-0912-4090-baa8-909c3cea28f1", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "10879dcc-ac72-4d78-8896-06106971de02", "8a98445a-c411-48fa-bb17-cd0b3050847a" ], "Companies": [ "183bb92a-34c6-4724-8083-76bca3140a27", "3272d14a-aaf5-4216-8448-8945606edda9" ], "Groups": [ "bbe2ae87-d92b-4a5f-89c4-223691af0cb6", "a7bbdb7c-e071-457a-ac75-ba35b2813721" ], "Opportunities": [ "a506e4e3-b35e-4d57-a7bb-24b3535850c9", "7a354bfc-2f98-41ad-9bb3-cf754709e0f0" ] } } ]