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-06-02T17:51:28Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-06-02T17:51:28Z", "CreateDate": "2025-06-02T17:51:28Z", "DisplayDate": "2025-06-02T17:51:28Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "57513764-978e-47f0-891d-36c1aac2031c", "ManageUserID": "4f54088a-93ed-404b-a30f-c472e8a5ac25", "ManageUserName": "sample string 9", "CreateUserID": "8991a07f-d95a-46b0-b489-d518479c275a", "CreateUserName": "sample string 11", "EditUserID": "a5f49d91-3bcc-46b5-9790-d5489815fc2c", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "f364c75e-b4e4-4693-992f-3219809652e6", "b0f1866a-b707-410c-83a3-5a3faba9e48c" ], "Companies": [ "6ffbc3b0-7c49-482a-967d-dca7785730e1", "32d5fa0a-768c-474e-ab1f-536be1f9b110" ], "Groups": [ "dff52f50-2d59-4b87-b1c9-519d799b3784", "f70989e8-2bbb-4dd5-bea5-b808889d089b" ], "Opportunities": [ "19a5b419-d9b7-4cc2-9f1e-701995eaf5f2", "0c54bf2a-2cd1-4060-af59-6b73ab3856f8" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2025-06-02T17:51:28Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2025-06-02T17:51:28Z", "CreateDate": "2025-06-02T17:51:28Z", "DisplayDate": "2025-06-02T17:51:28Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "57513764-978e-47f0-891d-36c1aac2031c", "ManageUserID": "4f54088a-93ed-404b-a30f-c472e8a5ac25", "ManageUserName": "sample string 9", "CreateUserID": "8991a07f-d95a-46b0-b489-d518479c275a", "CreateUserName": "sample string 11", "EditUserID": "a5f49d91-3bcc-46b5-9790-d5489815fc2c", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "f364c75e-b4e4-4693-992f-3219809652e6", "b0f1866a-b707-410c-83a3-5a3faba9e48c" ], "Companies": [ "6ffbc3b0-7c49-482a-967d-dca7785730e1", "32d5fa0a-768c-474e-ab1f-536be1f9b110" ], "Groups": [ "dff52f50-2d59-4b87-b1c9-519d799b3784", "f70989e8-2bbb-4dd5-bea5-b808889d089b" ], "Opportunities": [ "19a5b419-d9b7-4cc2-9f1e-701995eaf5f2", "0c54bf2a-2cd1-4060-af59-6b73ab3856f8" ] } } ]