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": "2026-02-10T03:02:05Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2026-02-10T03:02:05Z",
"CreateDate": "2026-02-10T03:02:05Z",
"DisplayDate": "2026-02-10T03:02:05Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "b0f12568-ddcc-4b03-835f-3ef64cf57083",
"ManageUserID": "81bfcc75-64ac-461d-8998-217ce813c3f2",
"ManageUserName": "sample string 9",
"CreateUserID": "2a91343d-ec59-43e9-9017-861c57b74264",
"CreateUserName": "sample string 11",
"EditUserID": "361fbac6-b55b-41ba-bf55-13260dff5b07",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"fc1316ab-6f51-4c56-828d-dca8a2639a04",
"14b0401e-a07b-45d3-a579-755942c31a67"
],
"Companies": [
"f2c533a7-fc81-44e3-8bf9-25aba68a9046",
"c88b1ca4-6b11-4697-9cb5-249d297d1df7"
],
"Groups": [
"f6979ace-6554-4695-802b-ca3ce14798ea",
"e4ae38d9-fdf0-47f3-b15e-203fd70d840c"
],
"Opportunities": [
"6ced0b6a-8944-4288-8ccc-9b5db99b92d6",
"0c080ec5-eb0e-4f13-980e-efd7bc6b25f1"
]
}
},
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2026-02-10T03:02:05Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2026-02-10T03:02:05Z",
"CreateDate": "2026-02-10T03:02:05Z",
"DisplayDate": "2026-02-10T03:02:05Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "b0f12568-ddcc-4b03-835f-3ef64cf57083",
"ManageUserID": "81bfcc75-64ac-461d-8998-217ce813c3f2",
"ManageUserName": "sample string 9",
"CreateUserID": "2a91343d-ec59-43e9-9017-861c57b74264",
"CreateUserName": "sample string 11",
"EditUserID": "361fbac6-b55b-41ba-bf55-13260dff5b07",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"fc1316ab-6f51-4c56-828d-dca8a2639a04",
"14b0401e-a07b-45d3-a579-755942c31a67"
],
"Companies": [
"f2c533a7-fc81-44e3-8bf9-25aba68a9046",
"c88b1ca4-6b11-4697-9cb5-249d297d1df7"
],
"Groups": [
"f6979ace-6554-4695-802b-ca3ce14798ea",
"e4ae38d9-fdf0-47f3-b15e-203fd70d840c"
],
"Opportunities": [
"6ced0b6a-8944-4288-8ccc-9b5db99b92d6",
"0c080ec5-eb0e-4f13-980e-efd7bc6b25f1"
]
}
}
]