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-09-02T20:26:29Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-09-02T20:26:29Z", "CreateDate": "2025-09-02T20:26:29Z", "DisplayDate": "2025-09-02T20:26:29Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "5b37827c-858a-43cd-b05f-68cc3fea8db4", "ManageUserID": "d46669be-97c5-4a35-9d6d-cc5897bc317e", "ManageUserName": "sample string 9", "CreateUserID": "30b73280-652f-45bc-9921-36df4c4a01e1", "CreateUserName": "sample string 11", "EditUserID": "b1fe9007-539f-4dd2-bdf6-28a3cb1c40fa", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "ce9aef5d-081b-4f85-b3d9-00e22193dcd9", "f4fdb8f4-8d2b-4662-bb61-850a1fc71f5a" ], "Companies": [ "721c6b95-5e7c-4d1d-8338-fc501a7e3b75", "c920ec87-20a3-4c79-9f20-66c8dc4ce148" ], "Groups": [ "f8603a1b-03f8-4f73-8da8-dc6faf117ae7", "efa72cb0-7e3e-485b-bc1f-9b5d3c0d328f" ], "Opportunities": [ "868deac5-891c-4d8c-9d8f-91420aeaee4f", "31c9a82f-5b1a-4a49-9aea-e8d82c188b7e" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2025-09-02T20:26:29Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-09-02T20:26:29Z", "CreateDate": "2025-09-02T20:26:29Z", "DisplayDate": "2025-09-02T20:26:29Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "5b37827c-858a-43cd-b05f-68cc3fea8db4", "ManageUserID": "d46669be-97c5-4a35-9d6d-cc5897bc317e", "ManageUserName": "sample string 9", "CreateUserID": "30b73280-652f-45bc-9921-36df4c4a01e1", "CreateUserName": "sample string 11", "EditUserID": "b1fe9007-539f-4dd2-bdf6-28a3cb1c40fa", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "ce9aef5d-081b-4f85-b3d9-00e22193dcd9", "f4fdb8f4-8d2b-4662-bb61-850a1fc71f5a" ], "Companies": [ "721c6b95-5e7c-4d1d-8338-fc501a7e3b75", "c920ec87-20a3-4c79-9f20-66c8dc4ce148" ], "Groups": [ "f8603a1b-03f8-4f73-8da8-dc6faf117ae7", "efa72cb0-7e3e-485b-bc1f-9b5d3c0d328f" ], "Opportunities": [ "868deac5-891c-4d8c-9d8f-91420aeaee4f", "31c9a82f-5b1a-4a49-9aea-e8d82c188b7e" ] } } ]