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": "2025-11-11T22:45:33Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-11-11T22:45:33Z",
"CreateDate": "2025-11-11T22:45:33Z",
"DisplayDate": "2025-11-11T22:45:33Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "d0219615-704f-4ad6-bd75-658accba6e51",
"ManageUserID": "3d95b76b-0daf-4271-9a2d-9348bde5d4fb",
"ManageUserName": "sample string 9",
"CreateUserID": "8274504f-0b46-44ac-9636-4d39aebb0d7d",
"CreateUserName": "sample string 11",
"EditUserID": "2385a361-9083-4c0d-a462-f4f5177a58a2",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"574c2fa2-d0fd-4703-a222-75c231fe123e",
"564f5da1-745d-465e-88df-0eb38e309ee2"
],
"Companies": [
"6add6a6e-6de1-4a7b-bd5a-57d196dee69e",
"6c030c7f-f45c-488b-96b7-0d0c0eacce8c"
],
"Groups": [
"bda3bf01-0de9-43b0-92f6-247151fa30a7",
"0be3687b-0c20-44a4-be9c-1afd7f7dc43d"
],
"Opportunities": [
"db0527e8-a77d-4843-85fe-32870d46d721",
"b592acd4-0522-4e5d-bb69-82c573e4bbcc"
]
}
},
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2025-11-11T22:45:33Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-11-11T22:45:33Z",
"CreateDate": "2025-11-11T22:45:33Z",
"DisplayDate": "2025-11-11T22:45:33Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "d0219615-704f-4ad6-bd75-658accba6e51",
"ManageUserID": "3d95b76b-0daf-4271-9a2d-9348bde5d4fb",
"ManageUserName": "sample string 9",
"CreateUserID": "8274504f-0b46-44ac-9636-4d39aebb0d7d",
"CreateUserName": "sample string 11",
"EditUserID": "2385a361-9083-4c0d-a462-f4f5177a58a2",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"574c2fa2-d0fd-4703-a222-75c231fe123e",
"564f5da1-745d-465e-88df-0eb38e309ee2"
],
"Companies": [
"6add6a6e-6de1-4a7b-bd5a-57d196dee69e",
"6c030c7f-f45c-488b-96b7-0d0c0eacce8c"
],
"Groups": [
"bda3bf01-0de9-43b0-92f6-247151fa30a7",
"0be3687b-0c20-44a4-be9c-1afd7f7dc43d"
],
"Opportunities": [
"db0527e8-a77d-4843-85fe-32870d46d721",
"b592acd4-0522-4e5d-bb69-82c573e4bbcc"
]
}
}
]